diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-08-30 08:45:35 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-08-30 08:48:15 +0530 |
commit | dcac5e7ac157964f71f15d81c7429130c69c3f9b (patch) | |
tree | 282810d70662894fdf76aa6869e2f6eeff9ead20 /src/backend/storage/file/fd.c | |
parent | d3fa87657860a50643118c682cdbf53f508a3fab (diff) | |
download | postgresql-dcac5e7ac157964f71f15d81c7429130c69c3f9b.tar.gz postgresql-dcac5e7ac157964f71f15d81c7429130c69c3f9b.zip |
Refactor sharedfileset.c to separate out fileset implementation.
Move fileset related implementation out of sharedfileset.c to allow its
usage by backends that don't want to share filesets among different
processes. After this split, fileset infrastructure is used by both
sharedfileset.c and worker.c for the named temporary files that survive
across transactions.
Author: Dilip Kumar, based on suggestion by Andres Freund
Reviewed-by: Hou Zhijie, Masahiko Sawada, Amit Kapila
Discussion: https://postgr.es/m/E1mCC6U-0004Ik-Fs@gemulon.postgresql.org
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r-- | src/backend/storage/file/fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index b58b3998345..433e2832a54 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -1921,7 +1921,7 @@ PathNameDeleteTemporaryFile(const char *path, bool error_on_failure) /* * Unlike FileClose's automatic file deletion code, we tolerate - * non-existence to support BufFileDeleteShared which doesn't know how + * non-existence to support BufFileDeleteFileSet which doesn't know how * many segments it has to delete until it runs out. */ if (stat_errno == ENOENT) |