Re: Oracle to PSQL function - Mailing list pgsql-general

From Tom Lane
Subject Re: Oracle to PSQL function
Date
Msg-id 29289.1175196261@sss.pgh.pa.us
Whole thread Raw
In response to Oracle to PSQL function  (Pete <pmdwise@hotmail.com>)
List pgsql-general
Pete <pmdwise@hotmail.com> writes:
> I am looking for an on line help with loads of examples for PSQL
> specifically in regards to stored procedures or functions.
> The following does not help me much.
> http://www.postgresql.org/docs/8.2/interactive/sql-createfunction.html

Try
http://www.postgresql.org/docs/8.2/interactive/plpgsql.html
particularly
http://www.postgresql.org/docs/8.2/interactive/plpgsql-porting.html

plpgsql tries to be like Oracle's pl/sql, but that only carries as far
as the function body.  The outer CREATE FUNCTION syntax is not under
its control and is significantly different from Oracle's.

            regards, tom lane

pgsql-general by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: question: knopixx and postgresql on flash drive
Next
From: "Peter L. Berghold"
Date:
Subject: Re: question: knopixx and postgresql on flash drive