postgresql/src/include/utils
Tom Lane aa83bc04e0 Restructure parsetree representation of DECLARE CURSOR: now it's a
utility statement (DeclareCursorStmt) with a SELECT query dangling from
it, rather than a SELECT query with a few unusual fields in it.  Add
code to determine whether a planned query can safely be run backwards.
If DECLARE CURSOR specifies SCROLL, ensure that the plan can be run
backwards by adding a Materialize plan node if it can't.  Without SCROLL,
you get an error if you try to fetch backwards from a cursor that can't
handle it.  (There is still some discussion about what the exact
behavior should be, but this is necessary infrastructure in any case.)
Along the way, make EXPLAIN DECLARE CURSOR work.
2003-03-10 03:53:52 +00:00
..
acl.h Grant options, and cascading revoke. Grant options are allowed only for 2003-01-23 23:39:07 +00:00
array.h The "Allow easy display of usernames in a group (pg_hba.conf uses groups 2002-11-08 17:27:03 +00:00
ascii.h Remove #ifdef MULTIBYTE per hackers list discussion. 2002-08-29 07:22:30 +00:00
builtins.h The "random" regression test uses a function called oidrand(), which 2003-02-13 05:24:04 +00:00
cash.h Use PostgreSQL's standard declaration for a 32-bit integer to define 2001-11-06 16:27:31 +00:00
catcache.h pgindent run. 2002-09-04 20:31:48 +00:00
date.h Repair array subscript overrun identified by Yichen Xie. Reduce the 2003-01-29 01:08:42 +00:00
datetime.h Fix timestamptz_in so that parsing of 'now'::timestamptz gives right 2003-02-20 05:24:55 +00:00
datum.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
dynahash.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
dynamic_loader.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
elog.h pgindent run. 2002-09-04 20:31:48 +00:00
fmgrtab.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
formatting.h Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
geo_decls.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
guc.h Rename: 2002-11-15 00:47:22 +00:00
hsearch.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
inet.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
int8.h Remove #warning directive, which is nonstandard and isn't really 2002-10-25 22:08:44 +00:00
inval.h pgindent run. 2002-09-04 20:31:48 +00:00
logtape.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
lsyscache.h Determine the set of constraints applied to a domain at executor 2003-02-03 21:15:45 +00:00
memutils.h Code review for palloc0 patch --- avoid dangerous and unnecessary 2002-12-16 16:22:46 +00:00
nabstime.h Mark the float8 -> int8 cast as implicit. This resolves the problem 2002-09-01 00:58:07 +00:00
numeric.h Alter scale selection for NUMERIC division and transcendental functions 2002-10-02 19:21:26 +00:00
palloc.h Code review for palloc0 patch --- avoid dangerous and unnecessary 2002-12-16 16:22:46 +00:00
pg_crc.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
pg_locale.h pgindent run. 2002-09-04 20:31:48 +00:00
pg_lzcompress.h This patch implements FOR EACH STATEMENT triggers, per my email to 2002-11-23 03:59:09 +00:00
portal.h Restructure parsetree representation of DECLARE CURSOR: now it's a 2003-03-10 03:53:52 +00:00
ps_status.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
rel.h This patch implements FOR EACH STATEMENT triggers, per my email to 2002-11-23 03:59:09 +00:00
relcache.h Restructure local-buffer handling per recent pghackers discussion. 2002-08-06 02:36:35 +00:00
selfuncs.h Extend join-selectivity API (oprjoin interface) so that join type is 2003-01-28 22:13:41 +00:00
sets.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
syscache.h Fix permissions-checking bugs and namespace-search-path bugs in 2002-11-02 02:33:03 +00:00
timestamp.h pgindent run. 2002-09-04 20:31:48 +00:00
tqual.h btree page recycling can be done as soon as page's next-xact label is 2003-02-23 23:20:52 +00:00
tuplesort.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
tuplestore.h tuplestore_donestoring() isn't needed anymore, but provide a no-op 2003-03-09 03:34:10 +00:00
varbit.h Extend pg_cast castimplicit column to a three-way value; this allows us 2002-09-18 21:35:25 +00:00