Re: massive quotes?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jon Jensen <jon(at)endpoint(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: massive quotes?
Date: 2003-09-11 21:55:02
Message-ID: 200309112155.h8BLt2L16401@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jon Jensen wrote:
> On Thu, 11 Sep 2003, Bruce Momjian wrote:
>
> > > I would definitely like to see us adopt a proposal that is like
> > > here-documents to the extent that there's a family of possible
> > > terminator markers and not only one. But we'll have to adjust the
> > > syntax a little bit. If you don't like $$FOO, what else comes to mind?
> >
> > Couldn't we allow << at the beginning of the line to mean 'here' document?
>
> Even if that worked, it diverges so much from shell and Perl here document
> syntax (where it's customary to have it at the end of the line, or even in
> the middle), it wouldn't be any more familiar than anything else.
>
> I think Tom's $$FOO suggestion is fine -- it just takes getting used to.

Oh, sorry, I forgot 'here' documents don't have to start the line. I
was looking at the manual page and not thinking of the code I write with
here documents.

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Jon Jensen 2003-09-11 22:00:15 Re: massive quotes?
Previous Message Tom Lane 2003-09-11 21:50:05 Re: massive quotes?