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:
parent
87b46ad904
commit
00b222226f
@ -359,7 +359,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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user