Re: [HACKERS] Fwd: Weird issues when reading UDT from stored function
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: rsmogura <rsmogura@softperience.eu>
Cc: Lukas Eder <lukas.eder@gmail.com>, pgsql-jdbc@postgresql.org, oliver@opencloud.com, pgsql-hackers@postgresql.org
Date: 2011-01-17T04:27:41Z
Lists: pgsql-hackers
On Wed, Jan 12, 2011 at 5:12 AM, rsmogura <rsmogura@softperience.eu> wrote: > Dear hackers :) Could you look at this thread from General. > --- > I say the backend if you have one "row type" output result treats it as the > full output result, it's really bad if you use STRUCT types (in your example > you see few columns, but this should be one column!). I think backend should > return ROWDESC(1), then per row data describe this row type data. In other > words result should be as in my example but without last column. Because > this funny behaviour is visible in psql in JDBC I think it's backend problem > or some far inconsistency. I don't see this described in select statement. I've read this report over a few times now, and I'm still not understanding exactly what is happening that you're unhappy about. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company