Commit Graph

791 Commits (8ea91ba18ebc52d91ebb856e75d363d7d552a38b)

Author SHA1 Message Date
Tom Lane e58a944700 Add comment explaining why RelationOpenSmgr() call is not needed. 20 years ago
Tom Lane 6e07709760 Implement SQL-compliant treatment of row comparisons for < <= > >= cases 20 years ago
Tom Lane 426292663a Fix problem with whole-row Vars referencing sub-select outputs, per 20 years ago
Tom Lane a9b1ff4c1d Fix a couple of lingering references to POSTQUEL query syntax, per Simon. 20 years ago
Tom Lane a98871b7ac Tweak indexscan machinery to avoid taking an AccessShareLock on an index 20 years ago
Tom Lane d780f07ac1 Adjust scan plan nodes to avoid getting an extra AccessShareLock on a 20 years ago
Tom Lane de1dfc1209 Rearrange code in ExecInitBitmapHeapScan so that we don't initialize the 20 years ago
Tom Lane 4ab76b1c20 Tweak hash join code to use an additional heuristic for deciding whether 20 years ago
Tom Lane b79cb1eea1 Recent changes to allow hash join to exit early given empty input from 20 years ago
Tom Lane da27c0a1ef Teach tid-scan code to make use of "ctid = ANY (array)" clauses, so that 20 years ago
Tom Lane 70f1482de3 Change seqscan logic so that we check visibility of all tuples on a page 20 years ago
Tom Lane 290166f934 Teach planner and executor to handle ScalarArrayOpExpr as an indexable 20 years ago
Tom Lane dab52ab13d Improve ExecStoreTuple to be smarter about replacing the contents of 20 years ago
Tom Lane 4dd2048a47 Get rid of ExecAssignResultTypeFromOuterPlan() and make all plan node types 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane dd218ae7b0 Remove the t_datamcxt field of HeapTupleData. This was introduced for 20 years ago
Tom Lane 40314f2dac Modify tuptoaster's API so that it does not try to modify the passed 20 years ago
Tom Lane 33a9af738d Stopgap solution for problem reported by Alexey Beschiokov: after 20 years ago
Neil Conway 7871b7defc Update obsolete comment describing ExecDelete(), per Simon Riggs. 20 years ago
Tom Lane cecb607559 Make SQL arrays support null elements. This commit fixes the core array 20 years ago
Tom Lane 76ce39e386 Prevent ExecInsert() and ExecUpdate() from scribbling on the result tuple 20 years ago
Alvaro Herrera 902377c465 Rename the members of CommandDest enum so they don't collide with other uses of 20 years ago
Tom Lane d9cb48786e Better solution to the problem of labeling whole-row Datums that are 20 years ago
Tom Lane 07908c9c37 Ensure that the Datum generated from a whole-row Var contains valid 20 years ago
Tom Lane 23836fb1fb A few trivial code cleanups motivated by reading warnings generated 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 21 years ago
Tom Lane cb8b6618ce Revise pgstats stuff to fix the problems with not counting accesses 21 years ago
Tom Lane 1b61ee3c69 _SPI_execute_plan failed to return result tuple table to caller in 21 years ago
Tom Lane e990b9ce23 The original patch to avoid building a hash join's hashtable when the 21 years ago
Tom Lane d7bb412e9c Remove some dead code. 21 years ago
Tom Lane 46a0eee300 Tweak nodeBitmapAnd to stop evaluating sub-plan scans if it finds it's 21 years ago
Tom Lane f26b91761b Arrange for indexes and toast tables to inherit their ownership from 21 years ago
Tom Lane f57e3f4cf3 Repair problems with VACUUM destroying t_ctid chains too soon, and with 21 years ago
Tom Lane 77b4bd3b43 Update some obsolete comments --- code is using t_self now, not t_ctid. 21 years ago
Tom Lane 2a4fad1a0e Add NOWAIT option to SELECT FOR UPDATE/SHARE. 21 years ago
Tom Lane 7762619e95 Replace pg_shadow and pg_group by new role-capable catalogs pg_authid 21 years ago
Tom Lane 943b396245 Add Oracle-compatible GREATEST and LEAST functions. Pavel Stehule 21 years ago
Tom Lane b95ae32b41 Avoid WAL-logging individual tuple insertions during CREATE TABLE AS 21 years ago
Neil Conway c119c5bd49 Change the implementation of hash join to attempt to avoid unnecessary 21 years ago
Tom Lane 56b01dc9ff Make SPI set SPI_processed for CREATE TABLE AS / SELECT INTO commands; 21 years ago
Tom Lane e92a88272e Modify hash_search() API to prevent future occurrences of the error 21 years ago
Tom Lane e2159f3842 Teach the planner to remove SubqueryScan nodes from the plan if they 21 years ago
Tom Lane 2ef172a2a4 Fix latent bug in ExecSeqRestrPos: it leaves the plan node's result slot 21 years ago
Tom Lane fabef3044a Minor refactoring to eliminate duplicate code and make startup a 21 years ago
Tom Lane 184e7a73a5 Revise nodeMergejoin in light of example provided by Guillaume Smet. 21 years ago
Tom Lane 3b6073de71 Remove some unnecessary code: since ExecMakeFunctionResultNoSets does not 21 years ago
Tom Lane 1198d63397 Add some defenses against functions declared to return set that don't 21 years ago
Tom Lane 278bd0cc22 For some reason access/tupmacs.h has been #including utils/memutils.h, 21 years ago
Tom Lane db70a31294 Adjust nodeBitmapIndexscan to keep the target index opened from plan 21 years ago
Neil Conway f478856c7f Change SPI functions to use a `long' when specifying the number of tuples 21 years ago