Restrict comment to the current database in order to prevent them from

Bruce Momjian <bruce@momjian.us>

Commit: ab117a6643b6e2e3dbceb89324765eeed543d2c7
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-04-24T02:50:30Z
Releases: 7.3.1
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

Files

PathChange+/−
src/backend/commands/comment.c modified +5 −1