Bug #880: COMMENT ON DATABASE depends on current database

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #880: COMMENT ON DATABASE depends on current database
Date: 2003-01-22 11:56:04
Message-ID: 20030122115604.2DEDC4761A3@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Marcin Kaminski (alternative(at)maxiu(dot)com) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
COMMENT ON DATABASE depends on current database

Long Description
PostgreSQL has mechanism for commenting databases.
Database comments can by read by obj_description(oid),
psql \l+ command use it. Database comments should be
global, but they are not, when we do \l+ on one database,
and then on other, results will be different.
I consider it is a bug, database is global object (You
can connect to it from any database) but their comments
are not.

Sample Code

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jérôme Calais 2003-01-22 15:04:56 IN selection issues
Previous Message remyapl 2003-01-22 10:58:54