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