summaryrefslogtreecommitdiff
path: root/src/backend/storage/file
diff options
context:
space:
mode:
authorPeter Eisentraut2023-08-22 12:12:45 +0000
committerThomas Munro2023-08-24 10:25:49 +0000
commit4f3514f201cf007a3e0c0abbf21b70a711269ab0 (patch)
tree3f4898b7926389aaef2cdbdc9e28a2905d58b64b /src/backend/storage/file
parentb575a26c66e438225f1c0f95ed8c5efc793d3a14 (diff)
Rename hook functions for debug_io_direct to match variable name.
Commit 319bae9a renamed the GUC. Rename the check and assign functions to match, and alphabetize. Back-patch to 16. Author: Peter Eisentraut <[email protected]> Discussion: https://postgr.es/m/2769341e-fa28-c2ee-3e4b-53fdcaaf2271%40eisentraut.org
Diffstat (limited to 'src/backend/storage/file')
-rw-r--r--src/backend/storage/file/fd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index a027a8aabc2..b490a76ba7d 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -3884,7 +3884,7 @@ data_sync_elevel(int elevel)
}
bool
-check_io_direct(char **newval, void **extra, GucSource source)
+check_debug_io_direct(char **newval, void **extra, GucSource source)
{
bool result = true;
int flags;
@@ -3958,7 +3958,7 @@ check_io_direct(char **newval, void **extra, GucSource source)
if (!result)
return result;
- /* Save the flags in *extra, for use by assign_io_direct */
+ /* Save the flags in *extra, for use by assign_debug_io_direct */
*extra = guc_malloc(ERROR, sizeof(int));
*((int *) *extra) = flags;
@@ -3966,7 +3966,7 @@ check_io_direct(char **newval, void **extra, GucSource source)
}
extern void
-assign_io_direct(const char *newval, void *extra)
+assign_debug_io_direct(const char *newval, void *extra)
{
int *flags = (int *) extra;