postgresql/src/backend/executor
Tom Lane e812458b27 Several changes here, not very related but touching some of the same files.
* Buffer refcount cleanup (per my "progress report" to pghackers, 9/22).
* Add links to backend PROC structs to sinval's array of per-backend info,
and use these links for routines that need to check the state of all
backends (rather than the slow, complicated search of the ShmemIndex
hashtable that was used before).  Add databaseOID to PROC structs.
* Use this to implement an interlock that prevents DESTROY DATABASE of
a database containing running backends.  (It's a little tricky to prevent
a concurrently-starting backend from getting in there, since the new
backend is not able to lock anything at the time it tries to look up
its database in pg_database.  My solution is to recheck that the DB is
OK at the end of InitPostgres.  It may not be a 100% solution, but it's
a lot better than no interlock at all...)
* In ALTER TABLE RENAME, flush buffers for the relation before doing the
rename of the physical files, to ensure we don't get failures later from
mdblindwrt().
* Update TRUNCATE patch so that it actually compiles against current
sources :-(.
You should do "make clean all" after pulling these changes.
1999-09-24 00:25:33 +00:00
..
_deadcode Final cleanup. 1999-07-16 05:00:38 +00:00
execAmi.c Mega-commit to make heap_open/heap_openr/heap_close take an 1999-09-18 19:08:25 +00:00
execFlatten.c Final cleanup. 1999-07-16 05:00:38 +00:00
execJunk.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
execMain.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
execProcnode.c Final cleanup. 1999-07-16 05:00:38 +00:00
execQual.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
execScan.c Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00
execTuples.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
execUtils.c Mega-commit to make heap_open/heap_openr/heap_close take an 1999-09-18 19:08:25 +00:00
functions.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
Makefile Remove Tee code, move to _deadcode. 1999-03-23 16:51:04 +00:00
nodeAgg.c Further planner/optimizer cleanups. Move all set_tlist_references 1999-08-22 20:15:04 +00:00
nodeAppend.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
nodeGroup.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
nodeHash.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
nodeHashjoin.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
nodeIndexscan.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
nodeMaterial.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
nodeMergejoin.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
nodeNestloop.c Final cleanup. 1999-07-16 05:00:38 +00:00
nodeResult.c pgindent run over code. 1999-05-25 16:15:34 +00:00
nodeSeqscan.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
nodeSort.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
nodeSubplan.c Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
nodeUnique.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
spi.c Remove unused #includes in *.c files. 1999-07-15 22:40:16 +00:00