Re: [HACKERS] psql and comments

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] psql and comments
Дата
Msg-id Pine.LNX.4.10.9910072343450.848-100000@peter-e.yi.org
обсуждение исходный текст
Ответ на Re: [HACKERS] psql and comments  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] psql and comments
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] Update of bitmask type
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] psql and comments