Commit Graph

89 Commits (a91c5be6a47349d87068680c80839aae76304285)

Author SHA1 Message Date
Bruce Momjian 54f7338fa1 This patch implements holdable cursors, following the proposal 23 years ago
Tom Lane 6261c75014 Implement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n options 23 years ago
Tom Lane aa83bc04e0 Restructure parsetree representation of DECLARE CURSOR: now it's a 23 years ago
Tom Lane 2dde90ad8d Fix SPI result logic for case where there are multiple statements of the 23 years ago
Tom Lane 26f56131ae SPI_exec shouldn't return SPI_OK_SELECT if it hasn't actually returned 23 years ago
Tom Lane a4482f4c4c Fix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTO 23 years ago
Tom Lane 699782b695 Adjust Tcl-related code to compile cleanly with Tcl 8.4 (add const modifiers as 23 years ago
Tom Lane e5bdd8d6f8 Skip unnecessary plan-copying now that plan trees are read-only in the 23 years ago
Tom Lane e64c7feb2f Tweak default memory context allocation policy so that a context is not 23 years ago
Tom Lane 5bab36e9f6 Revise executor APIs so that all per-query state structure is built in 23 years ago
Tom Lane 1fd0c59e25 Phase 1 of read-only-plans project: cause executor state nodes to point 23 years ago
Bruce Momjian 9b12ab6d5d Add new palloc0 call as merge of palloc and MemSet(0). 23 years ago
Bruce Momjian 75fee4535d Back out use of palloc0 in place if palloc/MemSet. Seems constant len 23 years ago
Bruce Momjian 8fee9615cc Merge palloc()/MemSet(0) calls into a single palloc0() call. 23 years ago
Tom Lane 9ff695c944 Make SPI's execution of querystrings follow the rules agreed to for 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Tom Lane c7a165adc6 Code review for HeapTupleHeader changes. Add version number to page headers 23 years ago
Bruce Momjian b0f5086e41 oid is needed, it is added at the end of the struct (after the null 23 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 23 years ago
Tom Lane 959e61e917 Remove global variable scanCommandId in favor of storing a command ID 23 years ago
Tom Lane 71dc300a37 The contents of command.c, creatinh.c, define.c, remove.c and rename.c 24 years ago
Tom Lane 95ef6a3448 First phase of SCHEMA changes, concentrating on fixing the grammar and 24 years ago
Tom Lane 6779c55c22 Clean up BeginCommand and related routines. BeginCommand and EndCommand 24 years ago
Tom Lane 56ee2ecba9 Restructure command-completion-report code so that there is just one 24 years ago
Tom Lane 3576820e78 Ensure that a cursor is scanned under the same scanCommandId it was 24 years ago
Tom Lane ab20692e1e SPI_cursor_open must copy by-reference parameter values into the 24 years ago
Tom Lane 82bad53cf5 Insert CommandCounterIncrement call into SPI_cursor_open. 24 years ago
Tom Lane f6ee99a062 Clean up usage-statistics display code (ShowUsage and friends). StatFp 24 years ago
Tom Lane 0053cebea5 Fix coredump in plpgsql when trying to return a rowtype result. 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Tom Lane 57dd2ce78a Make SPI's column-accessing functions work for system columns as well as 24 years ago
Tom Lane 8a52b893b3 Further cleanup of dynahash.c API, in pursuit of portability and 24 years ago
Tom Lane f59f3c8899 Add a SPI_copytupledesc function that parallels SPI_copytuple --- ie, 24 years ago
Tom Lane ba4d223cd9 Tweak memory context sizing for saved SPI plans. 24 years ago
Tom Lane 25ee08e14a If spi.c wants to use malloc, it better test for malloc failure. 24 years ago
Jan Wieck d27f363e3f Enhancement of SPI to get access to portals 24 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Tom Lane 414f94f262 Change plpgsql's GET DIAGNOSTICS statement to use SQL99-compatible 25 years ago
Tom Lane f9d6ffc5c4 Repair guaranteed core dump in SPI_exec(). Guess this routine wasn't 25 years ago
Tom Lane 217d1566bf Make tuple receive/print routines TOAST-aware. Formerly, printtup would 25 years ago
Tom Lane a933ee38bb Change SearchSysCache coding conventions so that a reference count is 25 years ago
Tom Lane 2f35b4efdb Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in 25 years ago
Tom Lane 1aebc3618a First phase of memory management rewrite (see backend/utils/mmgr/README 25 years ago
Tom Lane 0f1e39643d Third round of fmgr updates: eliminate calls using fmgr() and 25 years ago
Tom Lane 708f82f191 Fix bug noted by Bruce: FETCH in an already-aborted transaction block 26 years ago
Jan Wieck 397e9b32a3 Some changes to prepare for LONG attributes. 26 years ago
Bruce Momjian 97dec77fab Rename several destroy* functions/tags to drop*. 26 years ago
Bruce Momjian fc955b14ea Add system indexes to match all caches. 26 years ago
Bruce Momjian 86ef36c907 New NameStr macro to convert Name to Str. No need for var.data anymore. 26 years ago
Bruce Momjian 2e6b1e63a3 Remove unused #includes in *.c files. 26 years ago