Re: Dollar Quoting doc patch--resend.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Dollar Quoting doc patch--resend.
Дата
Msg-id 200405051532.i45FWPS00553@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Dollar Quoting doc patch--resend.  (David Fetter <david@fetter.org>)
Ответы Re: Dollar Quoting doc patch--resend.  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
David Fetter wrote:
> You folks have commit privs, so please settle on something.
>
> Here's $.01 worth:
>
> It ought to be pretty clear in each example that the stuff between the
> $'s can be varied.

Yes, we need to show that it can be varied, but when we are trying to
illustrate another concept, we should show examples that highlight
that concept, not add additional complexity with showing we can put a
tag between $$.  My guess is that if we show $tag$ all the time, folks
will not know that they can just do $$, which I think is the most
common usage for dollar quoting.

With shell HERE documents, you have to supply a tag, while with $$ you
do not, so I think would be very easy for folks to think a tag is
required.

--
  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, Pennsylvania 19073

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Dollar Quoting doc patch--resend.
Следующее
От: Robert Treat
Дата:
Сообщение: Re: new aggregate functions v2