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

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

pgsql-bugs by date

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

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