Re: WIP: default values for function parameters - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: WIP: default values for function parameters
Date
Msg-id 20081212165646.GA8658@feivel.credativ.de
Whole thread Raw
In response to Re: WIP: default values for function parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WIP: default values for function parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Dec 12, 2008 at 10:06:30AM -0500, Tom Lane wrote:
> Hmm ... actually, ecpg might be a problem here anyway.  I know it has
> special meaning for :name, but does it allow space between the colon
> and the name?  If it does then the colon syntax loses.  If it doesn't

No. Here's the lexer rule:

<SQL>:{identifier}((("->"|\.){identifier})|(\[{array}\]))*  

No space possible between ":"  and {identifier}.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: benchmarking the query planner
Next
From: Gregory Stark
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)