Re: comments in argument list of plpgsql get stripped?

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Ralph Graulich <maillist(at)shauny(dot)de>, "David Johnston" <polobo(at)yahoo(dot)com>
Subject: Re: comments in argument list of plpgsql get stripped?
Date: 2012-01-20 21:33:47
Message-ID: 201201201333.48561.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday, January 20, 2012 12:24:26 pm Ralph Graulich wrote:
> Hi David,

>
> II) Having PostgreSQL issuing a NOTICE that "comments get stripped" if you
> use comments somewhere where PostgreSQL accepts them, but discards them
> silently?

I think that is covered by this:

http://www.postgresql.org/docs/9.0/interactive/sql-syntax-lexical.html#SQL-SYNTAX-COMMENTS

"A comment is removed from the input stream before further syntax analysis and is effectively replaced by whitespace."

>
> Best regards,
> Ralph

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Geoghegan 2012-01-20 21:37:23 Re: Is Synchronous Postgresql Replication Slower Than Asynchronous?
Previous Message John R Pierce 2012-01-20 21:17:19 Re: Is Synchronous Postgresql Replication Slower Than Asynchronous?