Re: [PATCHES] Front-end libpq library : Extending PQconnectdb functionnalities to PQsetdbLogin

2005-11-09 Thread Tom Lane
[EMAIL PROTECTED] writes: This patch to fe-connect.c is intended to make it possible to set options like sslmode or connect_timeout with the PQsetdbLogin() function. This seems spectacularly ugly :-(. Why don't you lobby ECPG to provide a more modern connection API, instead?

Re: [PATCHES] return can contains any row or record functions

2005-11-09 Thread Neil Conway
On Tue, 2005-08-11 at 08:55 +0100, Pavel Stehule wrote: Sorry for my ugly english. Sorry, I didn't understand your reply. The problem is this: - we need to find the TupleDesc of the function's expected return type for tuple-returning functions - we can't use estate-rsi for the RETURN case, at

Re: [PATCHES] return can contains any row or record functions

2005-11-09 Thread Pavel Stehule
- we can't use estate-rsi for the RETURN case, at least as presently implemented, because that is not always filled-out -- the example I gave before shows how because we don't check for a compatible TupleDesc when estate-rsi is NULL, we end up returning a value that is incompatible with the