1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-29 13:56:47 +03:00

Fix typo in comment

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
This commit is contained in:
Daniel Gustafsson 2023-12-12 12:16:38 +01:00
parent 87b46ad904
commit 00b222226f

View File

@ -359,7 +359,7 @@ libpqrcv_identify_system(WalReceiverConn *conn, TimeLineID *primary_tli)
pchomp(PQerrorMessage(conn->streamConn))))); 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. * 9.4 and onwards.
*/ */
if (PQnfields(res) < 3 || PQntuples(res) != 1) if (PQnfields(res) < 3 || PQntuples(res) != 1)