Re: [HACKERS] Problems in porting from Oracle to Postgres

From: Roberto Mello <rmello(at)cc(dot)usu(dot)edu>
To: Amit <amitsaxena178(at)rediffmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [HACKERS] Problems in porting from Oracle to Postgres
Date: 2001-05-11 15:06:05
Message-ID: 20010511090605.A19164@cc.usu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

This is more appropriate for the pgsql-sql list, so im forwarding it
that way. The hackers list is for other purposes.

On Fri, May 11, 2001 at 12:24:25PM +0530, Amit wrote:
>
> 1> There is a code in Oracle like
>
> Type Tstate is table of number(9)
> index by binary_integer;
> ........
> To define a runtime table, basically it works like a array, How can it
> be possible in Postgres SQL,
> I have tried create temp table.... But it not works..
> Is there any way to use arrays.

It'd be much easier to help you if you posted the function/procedure
you're trying to port. Just one line is harder.

> 2> There is one function in Oracle Executesql '...........' to execute
> and what i got in Postgres is Execute immediate '.........'
> But it is giving error at Execute.

Again, you're giving way too little detail. What error? What are you
trying? Without this, it's very hard to help.

-Roberto

--
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
Roberto Mello - Computer Science, USU - http://www.brasileiro.net
http://www.sdl.usu.edu - Space Dynamics Lab, Developer
Cannot open CATFOOD.CAN - Eat logitech mouse instead (Y/n)?

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas F. O'Connell 2001-05-11 15:25:41 Re: 7.2 items
Previous Message Tom Lane 2001-05-11 13:53:14 Re: Odd results in SELECT

Browse pgsql-sql by date

  From Date Subject
Next Message J.H.M. Dassen Ray 2001-05-11 15:29:39 Re: Newbie ex-Oracle person's question: Oracle ROWID = PSQL OID, Orac le ROWNUM = PSQL ???
Previous Message Cliff Crawford 2001-05-11 15:01:10 Re: Newbie ex-Oracle person's question: Oracle ROWID = PSQL OID, Orac le ROWNUM = PSQL ???