On Sat, Dec 11, 2010 at 9:28 PM, Andrew Dunstan <and...@dunslane.net> wrote: > On 12/11/2010 09:16 PM, Robert Haas wrote: >> >> Well, you could set that GUC (plperl.pass_binary_bytea) on a function >> without changing any syntax on at all. >> >> CREATE FUNCTION name (args) ... SET plperl.pass_binary_bytea = true; > > Oh, good point. I'd forgotten about that. I'll experiment and see if I can > break it :-)
I guess one problem with that approach is that the scoping of the parameter change will be dynamic rather than lexical. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers