Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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 fa00244337bb7b960d718a4eec40ad7e79303d6b..a468420dcaff05ea9a4c1870db4017001c2ffdfe 100644 (file)
@@ -374,7 +374,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)