Re: named parameters in SQL functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: named parameters in SQL functions
Date
Msg-id 24091.1258321239@sss.pgh.pa.us
Whole thread Raw
In response to named parameters in SQL functions  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: named parameters in SQL functions
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> At Tom's suggestion I am looking at allowing use of parameter names in 
> SQL functions instead of requiring use of $1 etc. That raises the 
> question of how we would disambiguate a parameter name from a column 
> name.

Throw error if ambiguous.  We already resolved this in the context of
plpgsql.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: CommitFest 2009-11 Closed; Initial assignments
Next
From: Tom Lane
Date:
Subject: Re: Listen / Notify rewrite