OSDN Git Service

Rearrange extension-related views as per recent discussion.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Feb 2011 21:07:00 +0000 (16:07 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Feb 2011 00:22:36 +0000 (19:22 -0500)
commit555353c0c59ada35ae59c8a76186e98d123fa8b3
tree690e922f60f2faeca8a05a8372f834215f449078
parentcee103da14f470d29c47827b810da44cdab2a0d2
Rearrange extension-related views as per recent discussion.

The original design of pg_available_extensions did not consider the
possibility of version-specific control files.  Split it into two views:
pg_available_extensions shows information that is generic about an
extension, while pg_available_extension_versions shows all available
versions together with information that could be version-dependent.
Also, add an SRF pg_extension_update_paths() to assist in checking that
a collection of update scripts provide sane update path sequences.
doc/src/sgml/catalogs.sgml
doc/src/sgml/extend.sgml
src/backend/catalog/system_views.sql
src/backend/commands/extension.c
src/bin/psql/tab-complete.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h
src/test/regress/expected/rules.out