Re: Migrated Oracle database to PostgreSQL ?? - Mailing list pgsql-sql

From Yasir Malik
Subject Re: Migrated Oracle database to PostgreSQL ??
Date
Msg-id Pine.NEB.4.60.0504041534170.24466@pink-elephant.cs.stevens-tech.edu
Whole thread Raw
In response to Migrated Oracle database to PostgreSQL ??  ("Dinesh Pandey" <dpandey@secf.com>)
Responses Re: Migrated Oracle database to PostgreSQL ??  ("Dinesh Pandey" <dpandey@secf.com>)
List pgsql-sql
> 1. How to migrate Procedures and Packages from Oracle to PostgreSQL????
>
>
> 2. How to find error messages in PostgreSQL thrown from an Exception (as we
> can get messages in Oracle with "SQLERRM" keyword)
>    for example --
>
> --Raise an exception
>    RAISE EXCEPTION 'No Data found for record id % ' ,recordid
>
> --Insert exception messages into database
>    EXCEPTION
>        IF RAISE_EXCEPTION THEN
> --            my_insert_function(SQLERRM);

All your answers can be found here:
http://www.postgresql.org/docs/8.0/static/plpgsql.html

I can't say if PL/pgSQL is as good as PL/SQL, though.

Yasir


pgsql-sql by date:

Previous
From: "Dinesh Pandey"
Date:
Subject: Migrated Oracle database to PostgreSQL ??
Next
From: "Dinesh Pandey"
Date:
Subject: Re: Migrated Oracle database to PostgreSQL ??