=?ISO-8859-1?Q?Dan_Str=F6mberg?= <[EMAIL PROTECTED]> writes: > I would like to know if it is possible to find out the datatypes in the > resultset of a query or a set returning > function without actually executing them ?
You could always do "SELECT ...whatever ... LIMIT 0". Also, at the protocol level there's Parse/Describe Statement, but whatever client library you're using may not expose that usefully (I don't think libpq does for instance). regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match