pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jomon Skariah <jomons@aztec.soft.net>
To: pgsql-sql@postgresql.org
Subject: Porting from PL/SQL to PLPGSQL
Date: Wed, 20 Aug 2003 15:15:23 +0530
Message-ID: <F83B457BE363174B8233DE042A14457043A6C6@maya.aztec.soft.net> (raw)


Hi All,

We are in the process of migrating of our application from Oracle to
PostGreSQL.


we are  facing a few problems with PL/SQL Code..


1)	In Oracle sqlplus we can run sql script files as @script_name;
	How do we do the same in PostGres.
	Also is there any replacement for "&&" in PostGres ?


	Eg:
		CREATE USER CATALOG
		IDENTIFIED BY &ORA_PASSWORD
		DEFAULT TABLESPACE &DFLT_TABLESPACE
		TEMPORARY TABLESPACE &TEMP_TABLESPACE


2) 	In PostGres a function can not take more 16 arguments.We have some
procedures which are taking more than 
	16 arguements.So how can we convert them into PostGres.



Can anyone give some valuable suggestions..


Regards

Joe.








view thread (8+ messages)  latest in thread

Message-ID: <F83B457BE363174B8233DE042A14457043A6C6@maya.aztec.soft.net>
Permalink:  ../F83B457BE363174B8233DE042A14457043A6C6@maya.aztec.soft.net/
Also on:    postgresql.org/message-id/F83B457BE363174B8233DE042A14457043A6C6@maya.aztec.soft.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jomons@aztec.soft.net
  Subject: Re: Porting from PL/SQL to PLPGSQL
  In-Reply-To: <F83B457BE363174B8233DE042A14457043A6C6@maya.aztec.soft.net>
  References: <F83B457BE363174B8233DE042A14457043A6C6@maya.aztec.soft.net>

* 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