| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Jon Jensen <jon(at)endpoint(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: massive quotes? |
| Date: | 2003-09-11 21:17:10 |
| Message-ID: | 200309112117.h8BLHAf08191@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> Jon Jensen <jon(at)endpoint(dot)com> writes:
> > Is there a reason not to use here documents?
>
> The $$FOO proposal I put forward earlier was consciously modeled on
> here-documents. We cannot use exactly the shell syntax for
> here-documents, though, mainly because we already have meaning assigned
> to strings like <<' (<< is already a standard operator, and the ' could
> be the start of an ordinary literal).
>
> 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?
--
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jan Wieck | 2003-09-11 21:25:24 | Re: massive quotes? |
| Previous Message | Bruce Momjian | 2003-09-11 21:15:22 | Re: massive quotes? |