Re: Description field for tables and views

Поиск
Список
Период
Сортировка
От Kent Dorfman
Тема Re: Description field for tables and views
Дата
Msg-id 8c98234b-0e33-37b4-e18d-433e10775154@gmail.com
обсуждение исходный текст
Ответ на Re: Description field for tables and views  (Christophe Pettus <xof@thebuild.com>)
Ответы Re: Description field for tables and views
Список pgsql-general
On 7/3/24 15:30, Christophe Pettus wrote:

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

В списке pgsql-general по дате отправления: