X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7A2DDD1C9D2 for ; Thu, 14 Aug 2003 13:48:13 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 17815-03 for ; Thu, 14 Aug 2003 10:46:36 -0300 (ADT) Received: from param.aztec.soft.net (param.aztec.soft.net [164.164.151.8]) by svr1.postgresql.org (Postfix) with ESMTP id 4D405D1F459 for ; Thu, 14 Aug 2003 10:47:15 -0300 (ADT) Received: from maya.aztec.soft.net (maya.aztec.soft.net [164.164.151.5]) by param.aztec.soft.net (8.11.2/8.11.2) with ESMTP id h7EEWHu08107 for ; Thu, 14 Aug 2003 20:02:19 +0530 Received: by maya.aztec.soft.net with Internet Mail Service (5.5.2653.19) id ; Thu, 14 Aug 2003 19:16:53 +0530 Message-ID: From: Jomon Skariah To: pgsql-sql@postgresql.org Subject: Porting from PL/SQL to PLPGSQL Date: Thu, 14 Aug 2003 19:16:53 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.6 tagged_above=0.0 required=5.0 tests=QUOTED_EMAIL_TEXT, UPPERCASE_25_50 X-Spam-Level: X-Archive-Number: 200308/183 X-Sequence-Number: 14799 > Hi, > > 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) Can we perform DML statements on VIEWS in PostGreSQL as we do in > ORACLE? > Do I need to create some RULES for that ?? > > 2 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 > > > Regards > > Jomon Skariah. >