public inbox for [email protected]
help / color / mirror / Atom feedFrom: Kent Dorfman <[email protected]>
To: Christophe Pettus <[email protected]>
Cc: [email protected]
Subject: Re: Description field for tables and views
Date: Wed, 3 Jul 2024 16:24:12 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
On 7/3/24 15:30, Christophe Pettus wrote:
>
>> On Jul 3, 2024, at 12:28, Kent Dorfman<[email protected]> wrote:
>>
>> Is there any psql function/command to add a description field to a table or view definition in the system?
> Allow me to introduce you to my good friend "COMMENT":
>
> https://www.postgresql.org/docs/current/sql-comment.html
Thanks for the hint!
It's the simplest and most direct solution. Been typing SQL for 40
years and haven't had occasion to use COMMENT. Is it SQL standard or
postgres specific? Am not a DBA by trade but an embedded systems guy.
view thread (2+ messages) latest in thread
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Description field for tables and views
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox