Re: massive quotes?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: massive quotes?
Дата
Msg-id 200309112117.h8BLHAf08191@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: massive quotes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: massive quotes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: massive quotes?  (Jon Jensen <jon@endpoint.com>)
Re: massive quotes?  (Tilo Schwarz <mail@tilo-schwarz.de>)
Список pgsql-hackers
Tom Lane wrote:
> Jon Jensen <jon@endpoint.com> writes:
> > Is there a reason not to use here documents?
> 
> The $$FOO proposal I put forward earlier was consciously modeled on
> here-documents.  We cannot use exactly the shell syntax for
> here-documents, though, mainly because we already have meaning assigned
> to strings like <<' (<< is already a standard operator, and the ' could
> be the start of an ordinary literal).
> 
> 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?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: massive quotes?
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: massive quotes?