Re: trailing comment ghost-timing - Mailing list pgsql-hackers

From Tom Lane
Subject Re: trailing comment ghost-timing
Date
Msg-id 1194.1387906079@sss.pgh.pa.us
Whole thread Raw
In response to Re: trailing comment ghost-timing  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: trailing comment ghost-timing
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
>> This is inconsistent, IMO.  I think if we were to fix things so that
>> leading block comments were dropped the same way -- comments are, that
>> would also take care of the behavior complained of in this thread.
>> There's been some previous discussion of this point, I think.

> FWIW, I find dropping comments a rather annoying behaviour. I'd rather
> include dash comments in the statements sent to the server than start
> dropping block comments.

What I was proposing was that we do include comments in what we send,
as long as those comments are embedded in the statement text, not
on lines before it.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Sergey Muraviov
Date:
Subject: Re: Problem with displaying "wide" tables in psql
Next
From: Fujii Masao
Date:
Subject: Re: Logging WAL when updating hintbit