Re: massive quotes?

From: "Richard Hall" <rhall(at)micropat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: massive quotes?
Date: 2003-09-16 17:55:30
Message-ID: 3F674E92.6A1F4EE1@micropat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andreas said

>>
Well we might also have something like
CREATE FUNCTION ... AS QUOTE('MyEndMarker')
....
all the stuff
... MyEndMarker LANGUAGE 'plpgsql';

This looks quite SQL-like and should be easily implementable. Anyway,
this Perl-like style or Tom's proof-of-concept dollar-quoting one, both
seem equally usable, now let's have someone roll a die to decide.
>>

But if THIS solution is implemented then
QUOTE('MyEndMarker')
and
MyEndMarker
become noise words and it seems the parser could just assume to handle everything between
CREATE FUNCTION ... AS
and
LANGUAGE
as the delimiters for a function definition.

But as that's so simple I must be missing something.

Rick

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Smith 2003-09-16 18:06:45 Re: New thoughts about indexing cross-type comparisons
Previous Message Tom Lane 2003-09-16 17:24:05 Re: New thoughts about indexing cross-type comparisons