Fix typo in comment
authorDaniel Gustafsson <[email protected]>
Tue, 12 Dec 2023 11:16:38 +0000 (12:16 +0100)
committerDaniel Gustafsson <[email protected]>
Tue, 12 Dec 2023 11:16:38 +0000 (12:16 +0100)
Commit 98e675ed7af accidentally mistyped IDENTIFY_SYSTEM as
IDENTIFY_SERVER. Backpatch to all supported branches.

Reported-by: Alexander Lakhin <[email protected]>
Discussion: https://postgr.es/m/68138521-5345-8780-4390-1474afdcba1f@gmail.com

src/backend/replication/libpqwalreceiver/libpqwalreceiver.c

index 4fc14126b55e64592851d1eb0fc2e79fad81f424..9b379938d8a0809adff381f9f07d1b17cf8abe7c 100644 (file)
@@ -357,7 +357,7 @@ libpqrcv_identify_system(WalReceiverConn *conn, TimeLineID *primary_tli)
                        pchomp(PQerrorMessage(conn->streamConn)))));
    }
    /*
-    * IDENTIFY_SERVER returns 3 columns in 9.3 and earlier, and 4 columns in
+    * IDENTIFY_SYSTEM returns 3 columns in 9.3 and earlier, and 4 columns in
     * 9.4 and onwards.
     */
    if (PQnfields(res) < 3 || PQntuples(res) != 1)