BUG #4907: stored procedures and changed tables - Mailing list pgsql-bugs

From Michael Tenenbaum
Subject BUG #4907: stored procedures and changed tables
Date
Msg-id 200907071921.n67JLe38038990@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4907: stored procedures and changed tables  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4907
Logged by:          Michael Tenenbaum
Email address:      michael@strategic-techs.com
PostgreSQL version: 8.2.11
Operating system:   Gentoo
Description:        stored procedures and changed tables
Details:

If I have a stored procedure that returns a set of records of a table, I get
an error message that the procedure's record is the wrong type after I
change some columns in the table.

Deleting the procedure then rewriting the procedure does not help.  The only
thing that works is deleting both the stored procedure and the table and
starting over again.

Any chance a future release can check for stored procedures that return a
set of records of a changed table?

Thanks.

pgsql-bugs by date:

Previous
From: Dave Page
Date:
Subject: Re: Unknown winsock error 10061
Next
From: Lizzy M
Date:
Subject: pqSocketCheck() didn't return, hung in poll()? Is it a bug?