Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> Perhaps we should think about creating a shared version of
>> pg_description so we could have more reasonable support for comments
>> on shared objects. I'm not in a hurry for this but it would be a
>> reasonable TODO item.
> Just add a comment text column to the databases, users, groups and
> tablespaces tables. Then special case them in obj_description.
Hm ... seems like that requires more special cases, not fewer.
What I was imagining was the current database-local pg_description plus
a single shared table pg_shared_description. When you add more kinds of
shared objects (SQL roles maybe?) obj_description doesn't need to
change...
regards, tom lane