Re: Updated CREATE FUNCTION syntax - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Updated CREATE FUNCTION syntax
Date
Msg-id Pine.LNX.4.44.0205171338280.1096-100000@localhost.localdomain
Whole thread Raw
In response to Re: Updated CREATE FUNCTION syntax  ("Joel Burton" <joel@joelburton.com>)
Responses Re: Updated CREATE FUNCTION syntax  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Joel Burton writes:

> Is there any standardized way of handling the single-quotes within function
> definition? Rather than doubling them up (which can make for very messy code
> when your scripting language uses single quotes!), allowing another symbol
> to be used, with that symbol be declared in the CREATE FUNCTION line?
> Interbase uses a system like this: you can set the delimiter to anything you
> want and use that instead of '.

I think we need something like that.  How exactly does Interbase "set" the
delimiter?  Keep in mind that our lexer and parser are static.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: "Joel Burton"
Date:
Subject: Re: Updated CREATE FUNCTION syntax
Next
From: Peter Eisentraut
Date:
Subject: Re: [INTERFACES] libpgtcl - backend version information patch