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

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: "Timothy Seever" <tim(dot)seever(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5389: Column order on dump/reload broken from defined setof function
Date: 2010-03-26 11:00:48
Message-ID: 87tys39wkf.fsf@hi-media-techno.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"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.

Regards,
--
dim

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message sachin 2010-03-26 12:42:29 BUG #5392: Query Optimization
Previous Message Martin Schäfer 2010-03-26 08:43:59 Re: UTF-8 encoding failure