On Sat, 12 May 2012 07:11:08 -0700 Adrian Klaver <adrian.klaver@xxxxxxxxx> wrote: > Something like this?: > > create or replace function date_test(some_date date) returns void as > $Body$ > date_plan = plpy.prepare("select id_fld from date_test where date_fld > = $1", ["date"]) date_rs = plpy.execute(date_plan,[some_date]) > plpy.notice(date_rs[0]["id_fld"]) > $Body$ > language plpythonu; Yes. Gave me the missing piece. Thanks a lot! Cheers, Frank -- Frank Lanitz <frank@xxxxxxxxxxxxxx>
Attachment:
pgpQWbUXkvglb.pgp
Description: PGP signature