diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-19 13:07:41 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-19 13:07:41 -0400 |
commit | 2bc30516c728fddf791ec508056a9c92c65025af (patch) | |
tree | f1faa1a9d99c34f566a5695b5de4416bdfa0eb67 /src/backend/executor/functions.c | |
parent | 79c49131fa59069c70bda107c082199e9f8bd880 (diff) | |
download | postgresql-2bc30516c728fddf791ec508056a9c92c65025af.tar.gz postgresql-2bc30516c728fddf791ec508056a9c92c65025af.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