Re: Migrated Oracle database to PostgreSQL ??

From: Yasir Malik <ymalik(at)cs(dot)stevens(dot)edu>
To: PostgreSQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Migrated Oracle database to PostgreSQL ??
Date: 2005-04-04 19:35:57
Message-ID: Pine.NEB.4.60.0504041534170.24466@pink-elephant.cs.stevens-tech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dinesh Pandey 2005-04-04 19:57:30 Re: Migrated Oracle database to PostgreSQL ??
Previous Message Dinesh Pandey 2005-04-04 13:41:17 Migrated Oracle database to PostgreSQL ??