Re: Dollar quoting docs, round 1

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Dollar quoting docs, round 1
Дата
Msg-id 20040428162300.GI6848@fetter.org
обсуждение исходный текст
Ответ на Re: Dollar quoting docs, round 1  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Dollar quoting docs, round 1  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Wed, Apr 28, 2004 at 08:28:58AM +0200, Peter Eisentraut wrote:
> David Fetter wrote:
> > Kind people,
> >
> > Please find attached a diff to the SGML docs that attempts to go
> > over the new dollar quoting feature.
>
> I think we should just use $$ in each case.  Otherwise it might look
> more complicated than before.

Peter,

I'd be delighted to simplify some of the quotes.  They can't all be $$
because of the nesting, so that's out.  Also, I believe it is a good
idea to give some idea of what is going on with the tags, as I do with
similar structures in other languages.  For example, when I am writing
up a piece of SQL in perl or php, the tag looks like this:

$sql = <<SQL
...
SQL

$sql = <<<SQL
...
SQL;

Thanks as always for your prompt insights.

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Basic subtransaction facility
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Dollar quoting docs, round 1