Re: [PATCHES] fix for parameterized queries in DECLARE CURSOR statements

2004-08-01 Thread Tom Lane
Oliver Jowett <[EMAIL PROTECTED]> writes: > Here's a patch that allows parameterized queries to be used in a DECLARE > CURSOR statement. Applied with minor editorialization. I found a couple of places where you'd missed inserting type Oids into constructed ParamLists, and I took advantage of the

[PATCHES] fix for parameterized queries in DECLARE CURSOR statements

2004-07-26 Thread Oliver Jowett
Here's a patch that allows parameterized queries to be used in a DECLARE CURSOR statement. Previously, the DECLARE would succeed but any FETCHes would fail as the parameter values supplied to DECLARE were not propagated to the portal it created. This patch adds that propagation. See http://arc