Re: BUG #5389: Column order on dump/reload broken from defined setof function

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
Cc: Timothy Seever <tim(dot)seever(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5389: Column order on dump/reload broken from defined setof function
Date: 2010-03-29 00:20:17
Message-ID: 603c8f071003281720x414628dav62f8823605fdd899@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Mar 26, 2010 at 7:00 AM, Dimitri Fontaine
<dfontaine(at)hi-media(dot)com> wrote:
> "Timothy Seever" <tim(dot)seever(at)gmail(dot)com> writes:
>> CREATE FUNCTION testfunc() RETURNS setof tablec AS $BODY$ SELECT * FROM
>> tablec; $BODY$ LANGUAGE 'sql' STABLE;
>
> Common wisdom saith to never ever use "SELECT *" in your code. You just
> found out a reason why.

Still pretty annoying though.

...Robert

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tharakan, George (GE Healthcare) 2010-03-29 08:56:32 Known Issues Page
Previous Message Robert Haas 2010-03-29 00:17:54 Re: BUG #5392: Query Optimization