postgresql/src/include
Heikki Linnakangas 0f0b236b03 The previous fix in CVS HEAD and 8.4 for handling the case where a cursor
being used in a PL/pgSQL FOR loop is closed was inadequate, as Tom Lane
pointed out. The bug affects FOR statement variants too, because you can
close an implicitly created cursor too by guessing the "<unnamed portal X>"
name created for it.

To fix that, "pin" the portal to prevent it from being dropped while it's
being used in a PL/pgSQL FOR loop. Backpatch all the way to 7.4 which is
the oldest supported version.
2010-07-05 09:27:24 +00:00
..
access Fix an old bug in multixact and two-phase commit. Prepared transactions can 2009-11-23 09:58:51 +00:00
bootstrap Update copyright for 2009. 2009-01-01 17:24:05 +00:00
catalog Refine the use of terminology around bound and unbound cursors and cursor 2009-06-18 10:22:09 +00:00
commands Allow REASSIGNED OWNED to handle opclasses and opfamilies. 2010-07-03 13:53:26 +00:00
executor Fix a bug introduced when set-returning SQL functions were made inline-able: 2009-12-14 02:16:04 +00:00
foreign 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
lib Update copyright for 2009. 2009-01-01 17:24:05 +00:00
libpq 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
mb 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
nodes Fix "constraint_exclusion = partition" logic so that it will also attempt 2010-03-30 21:58:18 +00:00
optimizer Fix set_append_rel_pathlist() to deal intelligently with cases where 2009-07-06 18:26:39 +00:00
parser Make FOR UPDATE/SHARE in the primary query not propagate into WITH queries; 2009-10-27 17:11:30 +00:00
port Reserve the shared memory region during backend startup on Windows, so 2009-08-11 11:51:22 +00:00
portability 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
postmaster 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
regex 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
rewrite Fix subquery pullup to wrap a PlaceHolderVar around the entire RowExpr 2009-09-02 17:52:33 +00:00
snowball Update copyright for 2009. 2009-01-01 17:24:05 +00:00
storage Fix some serious bugs in archive recovery, now that bgwriter is active 2009-06-25 21:36:00 +00:00
tcop 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
tsearch 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
utils The previous fix in CVS HEAD and 8.4 for handling the case where a cursor 2010-07-05 09:27:24 +00:00
c.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
fmgr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
funcapi.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
getaddrinfo.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
getopt_long.h Remove a boatload of useless definitions of 'int optreset'. If we 2009-04-05 04:19:59 +00:00
Makefile Install src/include/utils/fmgroids.h on VPATH builds too. 2009-07-20 20:48:58 +00:00
miscadmin.h Prevent indirect security attacks via changing session-local state within 2009-12-09 21:58:04 +00:00
pg_config.h.in Alter the configure script to fail immediately if the C compiler does not 2010-01-07 00:25:18 +00:00
pg_config.h.win32 tag 8.4.4 2010-05-14 03:20:06 +00:00
pg_config_manual.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pg_trace.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pgstat.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pgtime.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
port.h Add inheritable ACE when creating a restricted token for execution on 2009-11-14 15:39:45 +00:00
postgres.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
rusagestub.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
windowapi.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00