mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-15 08:53:29 +02:00
* 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. |
||
---|---|---|
.. | ||
_deadcode | ||
async.c | ||
cluster.c | ||
command.c | ||
copy.c | ||
creatinh.c | ||
dbcommands.c | ||
define.c | ||
explain.c | ||
indexcmds.c | ||
Makefile | ||
proclang.c | ||
remove.c | ||
rename.c | ||
sequence.c | ||
trigger.c | ||
user.c | ||
vacuum.c | ||
variable.c | ||
view.c |