Re: Migrate Store Procedure Sybase to PostgreSQL - Mailing list pgsql-general

From Marius Žalinauskas
Subject Re: Migrate Store Procedure Sybase to PostgreSQL
Date
Msg-id a04jbr$7ch$1@news.tht.net
Whole thread Raw
In response to Re: Migrate Store Procedure Sybase to PostgreSQL  (marc@oscar.eng.cv.net (Marc Spitzer))
Responses Re: Migrate Store Procedure Sybase to PostgreSQL
List pgsql-general
Marc Spitzer wrote:
> Yamil Bendek wrote:
>> I need to migrate a Sybase Database to PostgreSQL, In the Sybase DB we
>> have store procedure that return result Sets, how can i to migrate
>> these store procedure?????????
>
> you could try storing the result in a tmp table and returning the
> name of the table.  I dont think you can return a result set from
> a stored procedure.

Somewhere in documentation I found that it could return one column from SQL
function, but that's all it can do. What a shame.

Anyway, it's a design flaw that needed to be fixed a long time ago. I hope
it it will be done in v7.2 (it would be nice to hear some developer here
too).

--
Marius Žalinauskas

pgsql-general by date:

Previous
From: Masaru Sugawara
Date:
Subject: Re: getting most recent row efficiently
Next
From: marc@oscar.eng.cv.net (Marc Spitzer)
Date:
Subject: Re: Shipping database help desperately needed