Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group