On Sun, Sep 19, 2010 at 05:34:54PM -0700, Bret Green wrote: > Thanks > Any solution without cursors perhaps? write sql function as a wrapper around insert, and use it as a source for 2nd insert. depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: depesz@xxxxxxxxxx / aim:depeszhdl / skype:depesz_hdl / gg:6749007 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general