]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix typo in comment
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 12 Dec 2023 11:16:38 +0000 (12:16 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
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 <exclusion@gmail.com>
Discussion: https://postgr.es/m/68138521-5345-8780-4390-1474afdcba1f@gmail.com

src/backend/replication/libpqwalreceiver/libpqwalreceiver.c

index 5a1633cc4c2a7df8178c1f3923b8b0f97941cd56..77812f12a9bea5d8743e86487e7643a7adda1155 100644 (file)
@@ -382,7 +382,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)