Re: massive quotes?

Поиск
Список
Период
Сортировка
От Jon Jensen
Тема Re: massive quotes?
Дата
Msg-id Pine.LNX.4.58.0309112128430.7511@louche.swelter.net
обсуждение исходный текст
Ответ на Re: massive quotes?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: massive quotes?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Thu, 11 Sep 2003, Bruce Momjian wrote:

> > I would definitely like to see us adopt a proposal that is like
> > here-documents to the extent that there's a family of possible
> > terminator markers and not only one.  But we'll have to adjust the
> > syntax a little bit.  If you don't like $$FOO, what else comes to mind?
> 
> Couldn't we allow << at the beginning of the line to mean 'here' document?

Even if that worked, it diverges so much from shell and Perl here document 
syntax (where it's customary to have it at the end of the line, or even in 
the middle), it wouldn't be any more familiar than anything else.

I think Tom's $$FOO suggestion is fine -- it just takes getting used to.

Jon


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: Another small bug (pg_autovacuum)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: massive quotes?