Thread: pgsql/src/backend/commands comment.c

pgsql/src/backend/commands comment.c

From
momjian@postgresql.org (Bruce Momjian - CVS)
Date:
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