diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-11-18 01:14:26 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-11-18 01:14:26 +0000 |
commit | b2a2f4cef7e180735ab9e80cea3a0f73cd4edc58 (patch) | |
tree | 944889e1fafc6098783581443388c4de59a9b23d /src/backend/tcop/postgres.c | |
parent | c36496a1011e1b66947173dba4eefdec2a95669b (diff) | |
download | postgresql-b2a2f4cef7e180735ab9e80cea3a0f73cd4edc58.tar.gz postgresql-b2a2f4cef7e180735ab9e80cea3a0f73cd4edc58.zip |
Force pg_database updates out to disk immediately after ALTER DATABASE;
this is to avoid scenarios where incoming backends find no live copies
of a database's row because the only live copy is in an as-yet-unwritten
shared buffer, which they can't see. Also, use FlushRelationBuffers()
for forcing out pg_database, instead of the much more expensive BufferSync().
There's no need to write out pages belonging to other relations.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions