Re: [HACKERS] psql and comments - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] psql and comments
Date
Msg-id Pine.LNX.4.10.9910072343450.848-100000@peter-e.yi.org
Whole thread Raw
In response to Re: [HACKERS] psql and comments  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] psql and comments
List pgsql-hackers
On Oct 7, Bruce Momjian mentioned:

> > Things aren't a big problem the way they stand, but istm that a
> > completely blank line (after stripping single-line comments) may as
> > well be the same as an empty line,and that psql could figure that out.
> 
> I see your point in the above example.  I will wait for the psql/libpq
> cleaner-upper to finish, and take a look at it.

Oh, now I'm cleaning up libpq as well??? 8-}

Well anyway, by a vote of 1 1/2 to 1 psql will strip all comments before
sending a query, probably in a C pre-processor kind of way.

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [GENERAL] Update of bitmask type
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] psql and comments