[postgresql] reflected changes in oracle scripts to PL/pgSQL functions