On Sun, 2012-12-16 at 13:03 -0500, Tom Lane wrote: > Sure, but wouldn't it be cleaner to do that via some language-specific > syntax inside the function string? I'm imagining some syntax like > > CREATE FUNCTION ... AS $$ > global[ some definitions here ] > function code here > $$; > > where the PL would be responsible for pulling off the "global" chunk > and structuring what it outputs accordingly.
But then the language text wouldn't be Python anymore. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers