Fix copy-and-paste mistake in error message
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 13 Mar 2025 14:17:08 +0000 (15:17 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 13 Mar 2025 14:17:08 +0000 (15:17 +0100)
Introduced in commit a68159ff2b3.

src/backend/storage/file/fd.c

index e454db4c020d22891d72c4d1921879f009d2d80c..62f1185859f51f572347e119af2f1d337896244f 100644 (file)
@@ -4026,7 +4026,7 @@ check_debug_io_direct(char **newval, void **extra, GucSource source)
 #if BLCKSZ < PG_IO_ALIGN_SIZE
    if (result && (flags & IO_DIRECT_DATA))
    {
-       GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small.",
+       GUC_check_errdetail("\"%s\" is not supported for data because %s is too small.",
                            "debug_io_direct", "BLCKSZ");
        result = false;
    }