Search Postgresql Archives

Re: Description field for tables and views

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/3/24 15:30, Christophe Pettus wrote:

On Jul 3, 2024, at 12:28, Kent Dorfman <kent.dorfman766@xxxxxxxxx> 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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux