From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: massive quotes? |
Date: | 2003-09-15 13:12:04 |
Message-ID: | 3F65BAA4.8020907@Yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> "Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
>> I think calling it 'here-document' quoting is possibly unwise - it is
>> sufficiently different from here documents in shell and perl contexts to
>> make it confusing.
>
> I agree. I've tried to think of a better alternative name, but without
> much success.
>
>> We could call it meta-quoting, or alternative quoting, maybe.
>
> Those seem pretty unmemorable and content-free, though. Any other ideas
> out there?
textembed
markedtext
hereliteral
markedliteral
litter
>
> regards, tom lane
>
> PS: btw, I have realized that the seemingly obvious algorithm for
> choosing a delimiter string for given text is wrong. I had imagined it
> as "try $$, $Q$, $QQ$, $QQQ$, etc, until you find a delimiter not
> present in the given text string". This is not right because, for
> example, if the string ends with $Q then $Q$ is not a usable delimiter
> ($Q$...$Q$Q$ would be misparsed). The simplest correct algorithm is
> "try $, $Q, $QQ, $QQQ, etc until you find a string not present in the
> given text string; then use that with a $ appended".
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2003-09-15 13:12:12 | Re: Linux memory handling improvement |
Previous Message | Jan Wieck | 2003-09-15 13:05:01 | Re: massive quotes? |