When to use COMMENT vs --

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: When to use COMMENT vs --
Date: 2016-12-07 15:57:54
Message-ID: alpine.LNX.2.11.1612070755310.26259@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have used '-- ' to enter comments about tables or columns and am curious
about the value of storing comments in tables using the COMMENT key word.
When is the latter more appropriate than the former?

TIA,

Rich

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2016-12-07 16:04:42 Re: When to use COMMENT vs --
Previous Message Vick Khera 2016-12-07 15:43:13 Re: FreeBSD 10 => 11: Dump and reload your PostgreSQL database unless you like it broken