Re: Dollar Quoting doc patch--resend.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Dollar Quoting doc patch--resend.
Date: 2004-05-05 15:32:25
Message-ID: 200405051532.i45FWPS00553@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-05-05 16:32:19 Re: Dollar Quoting doc patch--resend.
Previous Message David Fetter 2004-05-05 15:17:10 Re: Dollar Quoting doc patch--resend.