Additional supplied modules
От | Thom Brown |
---|---|
Тема | Additional supplied modules |
Дата | |
Msg-id | CAA-aLv5PVP=H+f9Dv6oejEqmcDnJJnEr6f21tKB9xV37aFdDxw@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Additional supplied modules
|
Список | pgsql-hackers |
I've been thinking about the terminology used for various tools and extensions in PostgreSQL. The documentation bundles all them together in "Additional Supplied Modules, but really some are tools, some are libraries and some are extensions: Tools: oid2name pg_archivecleanup pgbench pg_standby pg_test_fsync pg_upgrade vacuumlo Libraries: auth_delay auto_explain dummy_seclabel passwordcheck sepgsql Extensions: adminpack btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore intagg intarray isn lo ltree pageinspect pg_buffercache pgcrypto pg_freespacemap pgrowlocks pg_stat_statements pgstattuple pg_trgm seg sslinfo tablefunc test_parser tsearch2 unaccent uuid-ossp xml2 Extension Packages: spi (contains extensions timetravel, autoinc, insert_username, moddatetime) In fact if someone has been told to install one of those extensions in the SPI package, they might not know that it contains separate extensions, so calling CREATE EXTENSION spi; will do nothing. On top of this, tools will just exist and can be used without any configuration, whereas libraries will need to be loaded either with LOAD or in shared_preload_libraries, and extensions require CREATE EXTENSION. It seems very messy for all these to be bundled into the same section as if they were all equals. And the completely random nature of the naming conventions doesn't help either. (e.g. pg_stat_statements vs pgstattuple). Could we somehow categorise these, and also do something to clarify that SPI is a collection of extensions rather than an extension itself? -- Thom Brown Twitter: @darkixion IRC (freenode): dark_ixion Registered Linux user: #516935 EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: