diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-19 13:07:33 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-19 13:07:33 -0400 |
commit | 3072b7bade26d4cf72ad453ad7d3323927b1ea64 (patch) | |
tree | 19325d6cbbfa27cb3df253084e659fc99b012ae7 /src/backend/executor/functions.c | |
parent | a7a4add6c4243cbcf50a554bce4c34cb72a344b5 (diff) | |
download | postgresql-3072b7bade26d4cf72ad453ad7d3323927b1ea64.tar.gz postgresql-3072b7bade26d4cf72ad453ad7d3323927b1ea64.zip |
Send only one FORGET_RELATION_FSYNC request when dropping a relation.
We were sending one per fork, but a little bit of refactoring allows us
to send just one request with forknum == InvalidForkNumber. This not only
reduces pressure on the shared-memory request queue, but saves repeated
traversals of the checkpointer's hash table.
Diffstat (limited to 'src/backend/executor/functions.c')
0 files changed, 0 insertions, 0 deletions