pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grant Allen <gxallen@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Migration from Postgresql 9 to Oracle 10g
Date: Fri, 19 Oct 2012 00:20:00 -0400
Message-ID: <5080D4F0.5040504@gmail.com> (raw)
In-Reply-To: <5080C99B.7080408@ringerc.id.au>
References: <CAM42borseyMiA0o4APWuo+08oWmOUpT1vNq8XzB0RFc_TAGpPQ@mail.gmail.com>
	<50804092.9060801@gmail.com>
	<5080C99B.7080408@ringerc.id.au>

On 18/10/2012 23:31, Craig Ringer wrote:
> On 10/19/2012 01:46 AM, Grant Allen wrote:
>> On 18/10/2012 02:13, Shams Khan wrote:
>>> Hi Experts,
>>>
>>> I am in the process of migration from PG 9 to oracle. All of the
>>> database objects has been migrated apart from functions. The main
>>> issue I am facing with function code where DML statements are used in
>>> the code. On the other side, Oracle doesn't support DML's in functions
>>> or procedures.
>>
>> Er, what?  What exactly do you mean "Oracle doesn't support DML's in ... procedures"?
> 
> I'm assuming the intention was to write "DDL".

Ah.  Well, not as plain statements - very true.  But wrap them in "execute immediate" and one is good to go :)

But we digress ... I'm still fascinated to find out what's driving the move away from Postgres.

Ciao
Fuzzy
:-)






view thread (8+ messages)

Message-ID: <5080D4F0.5040504@gmail.com>
Permalink:  ../5080D4F0.5040504@gmail.com/
Also on:    postgresql.org/message-id/5080D4F0.5040504@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: gxallen@gmail.com
  Subject: Re: Migration from Postgresql 9 to Oracle 10g
  In-Reply-To: <5080D4F0.5040504@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox