]> granicus.if.org Git - postgresql/commit
Restrict comment to the current database in order to prevent them from
authorBruce Momjian <bruce@momjian.us>
Wed, 24 Apr 2002 02:50:30 +0000 (02:50 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 24 Apr 2002 02:50:30 +0000 (02:50 +0000)
commitab117a6643b6e2e3dbceb89324765eeed543d2c7
tree816febf591df12a5af8c317817211fc9e1880971
parenta02f83426b44be4e3eb22252a1406c201479ee74
Restrict comment to the current database in order to prevent them from
mysteriously disappearing.

ie.  \d+ will only ever show the comment for the current database --
which is appropriate since it can only pull comments from the current
database.

Won't break pgadmin functionality as it enforces this behaviour already.

I didn't find any regression tests for COMMENT.

Rod Taylor
src/backend/commands/comment.c