Hello > (1 row) > > This works the same indeed, just seems to be a hack, though a cool > one :) > > hannu=# insert into test > hannu-# SELECT * FROM populate_record(null::test, > '"id"=>"456", "data"=>"zzz"'); > INSERT 0 1
few years back I proposed "anytypename" type with this feature, you can has some clean and more readable call SELECT * FROM populate_record(test, ...) Regards Pavel -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers