Re: fix: plpgsql: return query and dropped columns problem - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: fix: plpgsql: return query and dropped columns problem
Date
Msg-id 20090720150914.GK4938@alvh.no-ip.org
Whole thread Raw
In response to Re: fix: plpgsql: return query and dropped columns problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: fix: plpgsql: return query and dropped columns problem  (Jaime Casanova <jcasanov@systemguards.com.ec>)
List pgsql-bugs
Tom Lane escribió:
> Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> > this one applies, compiles and it actually fixes the bug...
>
> And introduces a bunch of new ones.  Surely you don't think that version
> of compatible_tupdesc() is good enough.

Getting rid of the check on natts was "ungood" ... it needs to compare
the number of undropped columns of both tupdescs.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: fix: plpgsql: return query and dropped columns problem
Next
From: Jaime Casanova
Date:
Subject: Re: fix: plpgsql: return query and dropped columns problem