Additional supplied modules

From: Thom Brown <thom(at)linux(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Additional supplied modules
Date: 2011-10-13 13:32:02
Message-ID: CAA-aLv5PVP=H+f9Dv6oejEqmcDnJJnEr6f21tKB9xV37aFdDxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2011-10-13 13:44:50 Re: Online base backup from the hot-standby
Previous Message Robert Haas 2011-10-13 12:25:28 Re: [REVIEW] pg_last_xact_insert_timestamp