Re: dollar quoting and pg_dump - Mailing list pgsql-hackers

From Jon Jensen
Subject Re: dollar quoting and pg_dump
Date
Msg-id Pine.LNX.4.58.0403240235300.30839@louche.swelter.net
Whole thread Raw
In response to Re: dollar quoting and pg_dump  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
On Wed, 24 Mar 2004, Christopher Kings-Lynne wrote:

> > I don't mind if it's on by default; just thinking that some people might
> > appreciate a way to turn it off.  "-X disable-dollar-quoting" sounds
> > fine.
> 
> Does it _have_ to be dollars?  Other languages call this feature 
> 'heretext' IIRC.

No, but I think the rough consensus was that the behavior of this feature 
is different enough from shell and Perl here documents that it deserved a 
different name. In particular the $ is part of both the opening and 
closing token, and newlines aren't relevant at either the beginning or 
end.

Jon


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: linked list rewrite
Next
From: "Marc G. Fournier"
Date:
Subject: Re: pg_dump locks a table on dumping ... ?