pgsql/src/backend/commands comment.c

Started by Bruce Momjianover 24 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

CVSROOT: /cvsroot
Module name: pgsql
Changes by: momjian@postgresql.org 02/04/23 22:50:30

Modified files:
src/backend/commands: comment.c

Log message:
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