postgresql/src/backend/utils
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
..
adt Fix for netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 1999-09-23 17:42:23 +00:00
cache Mega-commit to make heap_open/heap_openr/heap_close take an 1999-09-18 19:08:25 +00:00
error Eliminate elog()'s hardwired limit on length of an error message. 1999-09-11 19:06:42 +00:00
fmgr Mega-commit to make heap_open/heap_openr/heap_close take an 1999-09-18 19:08:25 +00:00
hash Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
init Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
mb Eliminate query length limitation imposed by pg_client_to_server 1999-09-11 22:28:11 +00:00
misc Several changes here, not very related but touching some of the same files. 1999-09-24 00:25:33 +00:00
mmgr Add TRUNCATE command, with psql help and sgml additions. 1999-09-23 17:03:39 +00:00
sort Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
time Remove unused #includes in *.c files. 1999-07-15 22:40:16 +00:00
Gen_fmgrtab.sh.in Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
Makefile From: t-ishii@sra.co.jp 1998-07-26 04:31:41 +00:00