On Tue, Apr 29, 2014 at 2:40 PM, Dorian Hoxha <dorian.hoxha@xxxxxxxxx> wrote: > So : > > drop function > alter type: add column > create again function with new default argument in a transaction ? Yeah -- something like that. Try it out (carefully). AIUI, In most cases the function execution will be inlined so the performance hit should be minimal vs raw insert. merlin -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general