X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id DEC8C30F5D0 for ; Wed, 2 Jul 2003 06:02:17 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 85054-02 for ; Wed, 2 Jul 2003 03:02:07 -0300 (ADT) Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id F3B9E310DC6 for ; Wed, 2 Jul 2003 03:02:05 -0300 (ADT) Received: (from root@localhost) by www.pspl.co.in (8.11.6/8.11.6) id h62624a09927 for ; Wed, 2 Jul 2003 11:32:04 +0530 Received: from daithan (daithan.intranet.pspl.co.in [192.168.7.161]) by www.pspl.co.in (8.11.6/8.11.0) with ESMTP id h62624Q09913 for ; Wed, 2 Jul 2003 11:32:04 +0530 From: "Shridhar Daithankar" To: Date: Wed, 02 Jul 2003 11:31:10 +0530 MIME-Version: 1.0 Subject: Re: PostgreSQL Reply-To: shridhar_daithankar@persistent.co.in Message-ID: <3F02C27E.24153.45F6251@localhost> In-reply-to: <00da01c33c2f$aecf0c40$1f00a8c0@compus.com.br> X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Archive-Number: 200307/101 X-Sequence-Number: 44955 On 26 Jun 2003 at 19:09, Ulisses Ponticelli Giorgi wrote: > 1) In my SQL Server database I have about 1,000 Stored > Procedures. In some cases, one SP calls another SP that calls another, > and so on. To do that, I use the EXEC command. I've read that PostgreSQL > only supports functions. Is there any kind of trick that I can use in > PostgreSQL to make easier the conversion of all my SPs? How could I do > this? I just can't get all my SPs and rewrite the code. I was under impression functions are stored procedures. I mean OK, if you write them in PL/PgSQL. Shouldn't be a problem barring syntax differences.. HTH Bye Shridhar -- Fun experiments: Get a can of shaving cream, throw it in a freezer for about a week. Then take it out, peel the metal off and put it where you want... bedroom, car, etc. As it thaws, it expands an unbelievable amount.