From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kuhn, Dylan K (4520500D) <Dylan.Kuhn@navy.mil>
Cc: pgsql-admin@postgresql.org
Cc: tom@demayfamily.net
Subject: Re: Comment on Database and Admin Metadata
Date: Wed, 14 May 2003 12:46:31 -0400
Message-ID: <25107.1052930791@sss.pgh.pa.us> (raw)
In-Reply-To: <78ED1F30F0D85B4698FBD6CF2A5AC8F5A576D2@NAWECHLKEX01VA.nadsuswe.nads.navy.mil>
References: <78ED1F30F0D85B4698FBD6CF2A5AC8F5A576D2@NAWECHLKEX01VA.nadsuswe.nads.navy.mil>
"Kuhn, Dylan K (4520500D)" <Dylan.Kuhn@navy.mil> writes:
> We are storing some metadata about a database in the database comment. In =
> short my question is, is there a better place?
I'd suggest making a "control table" in each database that stores
whatever you need. The database comment is only one field, but a
control table could be extended limitlessly.
> Bug #880 (http://archives.postgresql.org/pgsql-bugs/2003-01/msg00131.php) d=
> iscusses some of the problems with comments on databases.
AFAIK, no one has any plans to change the handling of comments.
Certainly it's not a very high-priority item.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Dylan.Kuhn@navy.mil, tom@demayfamily.net
Subject: Re: Comment on Database and Admin Metadata
In-Reply-To: <25107.1052930791@sss.pgh.pa.us>
References: <78ED1F30F0D85B4698FBD6CF2A5AC8F5A576D2@NAWECHLKEX01VA.nadsuswe.nads.navy.mil> <25107.1052930791@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox