Re: BUG #5030: Problem on "RETURN QUERY EXECUTE" when a column is dropped from a table

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: Armando Taffarel Neto <taffarel(at)solis(dot)coop(dot)br>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5030: Problem on "RETURN QUERY EXECUTE" when a column is dropped from a table
Date: 2009-09-02 20:33:11
Message-ID: 3073cc9b0909021333u7aa36dd5o59a32bfb931004fb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Sep 2, 2009 at 12:25 PM, Armando Taffarel
Neto<taffarel(at)solis(dot)coop(dot)br> wrote:
>
> SELECT * FROM test_foo();
> ERROR:  structure of query does not match function result type
> DETAIL:  Number of returned columns (1) does not match expected column count
> (2).
> CONTEXT:  PL/pgSQL function "test_foo" line 5 at RETURN QUERY
>

yeah! that bug was fixed here
http://archives.postgresql.org/pgsql-committers/2009-08/msg00068.php
but only in the currently in develop 8.5

are we going to backpatch this? while i think we should i know nothing
about how feasible that is

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2009-09-02 20:33:58 Re: BUG #5028: CASE returns ELSE value always when type is"char"
Previous Message Kevin Grittner 2009-09-02 20:22:39 Re: BUG #5028: CASE returns ELSE value always when type is"char"