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

From Tom Lane
Subject Re: Dollar Quoting doc patch--resend.
Date
Msg-id 25046.1083845254@sss.pgh.pa.us
Whole thread Raw
In response to Re: Dollar Quoting doc patch--resend.  (Neil Conway <neilc@samurai.com>)
Responses Re: Dollar Quoting doc patch--resend.
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> 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 we *have to* show examples both ways, otherwise people will get
the impression that they *must* use $$ quotes and that all their
existing function definitions are broken.

I don't mind if the bulk of the examples are converted to whatever
seems clearest, but certainly the CREATE FUNCTION reference page
has to show both alternatives.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: Function to do runtime relative directory mapping
Next
From: Bruce Momjian
Date:
Subject: Re: Dollar Quoting doc patch--resend.