Bruce Momjian wrote:
databases are also per cluster, but we have comments on those.Another problem is that pg_description is per-database, while pg_user/group are global for all databases.
Could we keep the user/group comments in those tables instead of in pg_description?
The comments are stored only in the database's pg_description where the COMMENT ON took place. This caused dump/reload problems. I believe Rod Taylor added the new warning:
[EMAIL PROTECTED] select count(*) from pg_description; count ------- 1541 (1 row)
[EMAIL PROTECTED] COMMENT ON DATABASE test IS 'Hello'; WARNING: database comments may only be applied to the current database COMMENT
[EMAIL PROTECTED] select count(*) from pg_description; count ------- 1541 (1 row)
[EMAIL PROTECTED] COMMENT ON DATABASE estore IS 'A good comment'; COMMENT
[EMAIL PROTECTED] select count(*) from pg_description; count ------- 1542 (1 row)
[EMAIL PROTECTED] select count(*) from pg_description; count ------- 1541 (1 row)
Mike Mascari
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org