Re: Dollar Quoting doc patch--resend. - Mailing list pgsql-patches

From David Fetter
Subject Re: Dollar Quoting doc patch--resend.
Date
Msg-id 20040506045235.GP23662@fetter.org
Whole thread Raw
In response to Re: Dollar Quoting doc patch--resend.  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
On Thu, May 06, 2004 at 12:47:46AM -0400, Bruce Momjian wrote:
> Neil Conway wrote:
> > On 6-May-04, at 12:41 AM, Bruce Momjian wrote:
> > > OK.  I am just afraid if we show 4 functions, and three use $$,
> > > and one doesn't use single-quotes inside, so we quote with
> > > single-quotes, that it would look strange.
> >
> > Personally I don't think it would look that strange, but maybe
> > that's just me. Does anyone else want to weigh in here?
>
> I think the big question is whether single quotes appear in function
> bodies so often that we should suggest folks just use $$ all the
> time.

IME, the answer to that question is yes.

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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Dollar Quoting doc patch--resend.
Next
From: Fabien COELHO
Date:
Subject: new aggregate functions v3