He procedimiento almacenado: create or replace function make_bi_temporal( _tbl regclass ) returns void as $$ BEGIN execute format( 'alter table %s drop constraint if exists %s_pkey', _tbl, _tbl ); .....
He procedimiento almacenado: create or replace function make_bi_temporal( _tbl regclass ) returns void as $$ BEGIN execute format( 'alter table %s drop constraint if exists %s_pkey', _tbl, _tbl ); .....