git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 95dbf9c) | patch
I've created a new shared catalog table pg_shdescription to store
2006年2月12日 03:22:21 +0000 (03:22 +0000)
2006年2月12日 03:22:21 +0000 (03:22 +0000)
commit f9a726aa883e1690f66bec535d85b34e1f9ed7e7
I've created a new shared catalog table pg_shdescription to store
comments on cluster global objects like databases, tablespaces, and
roles.

It touches a lot of places, but not much in the way of big changes. The
only design decision I made was to duplicate the query and manipulation
functions rather than to try and have them handle both shared and local
comments. I believe this is simpler for the code and not an issue for
callers because they know what type of object they are dealing with.
This has resulted in a shobj_description function analagous to
obj_description and backend functions [Create/Delete]SharedComments
mirroring the existing [Create/Delete]Comments functions.

pg_shdescription.h goes into src/include/catalog/

Kris Jurka
25 files changed:
doc/src/sgml/catalogs.sgml diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
doc/src/sgml/ref/comment.sgml diff | blob | blame | history
src/backend/catalog/Makefile diff | blob | blame | history
src/backend/catalog/genbki.sh diff | blob | blame | history
src/backend/commands/comment.c diff | blob | blame | history
src/backend/commands/dbcommands.c diff | blob | blame | history
src/backend/commands/tablespace.c diff | blob | blame | history
src/backend/commands/user.c diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
src/bin/pg_dump/pg_dumpall.c diff | blob | blame | history
src/bin/psql/command.c diff | blob | blame | history
src/bin/psql/describe.c diff | blob | blame | history
src/bin/psql/describe.h diff | blob | blame | history
src/bin/psql/tab-complete.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/indexing.h diff | blob | blame | history
src/include/catalog/pg_database.h diff | blob | blame | history
src/include/catalog/pg_proc.h diff | blob | blame | history
src/include/catalog/pg_shdescription.h [new file with mode: 0644] blob
src/include/commands/comment.h diff | blob | blame | history
src/include/postgres.h diff | blob | blame | history
src/test/regress/expected/sanity_check.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /