[HACKERS] DECLARE CURSOR code question

2008-01-11 Thread Neil Conway
In CVS HEAD, why does exec_simple_query() pass an empty cursorOptions to pg_plan_queries() at postgres.c:903? If we're planning DECLARE CURSOR, ISTM we ought to be passing down the DECLARE CURSOR's cursorOptions. -Neil ---(end of broadcast)---

Re: [HACKERS] DECLARE CURSOR code question

2008-01-11 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: In CVS HEAD, why does exec_simple_query() pass an empty cursorOptions to pg_plan_queries() at postgres.c:903? If we're planning DECLARE CURSOR, ISTM we ought to be passing down the DECLARE CURSOR's cursorOptions. This code doesn't know (or care) whether