Re: Substitutes for some Oracle packages

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: "Arnold, Sandra" <ArnoldS(at)osti(dot)gov>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Substitutes for some Oracle packages
Date: 2009-09-17 20:47:16
Message-ID: 162867790909171347v2dd567c1p9384137642c434b7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

2009/9/17 Arnold, Sandra <ArnoldS(at)osti(dot)gov>:
> We are in the process of migrating from Oracle to PostgreSQL.  One of the
> things that we are needing to find out is what to use in place of Oracle
> supplied functionality such as "DBMS_OUTPUT" and "UTL_FILE".  We are
> currently using this type of functionality in Stored Procedures and
> packages.  What are the options in PostgreSQL for replacing these two
> packages in a stored procedure/function?
> Thanks,
>
-
for typical use you can use RAISE NOTICE without DBMS_OUTPUT,
UTL_FILE isn't supported by core.

Migration process could be simplified by using Orafce package:

http://pgfoundry.org/projects/orafce/
http://orafce.projects.postgresql.org/

regards
Pavel Stehule

> Sandra Arnold
> Sr. DBA
> DOE/OSTI
> Oak Ridge, TN

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2009-09-17 20:48:23 Re: 'Weird' errors
Previous Message Bruce Momjian 2009-09-17 20:43:12 Re: Does PG cache results of an aggregate function, (and results of non-volatile functions)?