Re: dollar quoting and pg_dump

From: Jon Jensen <jon(at)endpoint(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: dollar quoting and pg_dump
Date: 2004-03-24 02:36:52
Message-ID: Pine.LNX.4.58.0403240235300.30839@louche.swelter.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-03-24 02:57:14 Re: pg_dump locks a table on dumping ... ?
Previous Message Bruce Momjian 2004-03-24 02:28:59 Re: linked list rewrite

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2004-03-24 02:50:08 Re: Updated logging config (was: Initial eventlog support on win32 )
Previous Message Neil Conway 2004-03-24 02:31:05 Re: Fix for dumoing WITH/WITHOUT oids