Porting from PL/SQL to PLPGSQL - Mailing list pgsql-sql

From Jomon Skariah
Subject Porting from PL/SQL to PLPGSQL
Date
Msg-id F83B457BE363174B8233DE042A1445703ADA9A@maya.aztec.soft.net
Whole thread Raw
Responses Re: Porting from PL/SQL to PLPGSQL  (Josh Berkus <josh@agliodbs.com>)
Re: Porting from PL/SQL to PLPGSQL  (Rod Taylor <rbt@rbt.ca>)
List pgsql-sql
Hi,

We are in the process of migrating of our application from Oracle to
PostGreSQL.


we are  facing a few problems with PL/SQL Code..

1)     In Exceptions ORACLE have something called WHEN OTHERS THEN cluase.I
can't find a replacement for that in            PostGreSQL.
2    Oracle have a function USERENV to get the user session
information.Is there any replacement available in PostGres. ?

3    Is there any replace available for INSTEAD OF INSERT/DELETE/UPDATE
for triggers in PostGreSQL.




Regards

Jomon Skariah.



pgsql-sql by date:

Previous
From: Raymond Chui
Date:
Subject: Why table has drop, but the foreign key still there?
Next
From: proghome@silesky.com (krystoffff)
Date:
Subject: Re: Error message with a SQL function