Commit bc03c593 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Adjust error message, now that we expect other message types than connection

close at this point. Fix PQsetnonblocking() comment.

Fujii Masao
parent f564e65c
......@@ -506,7 +506,7 @@ ProcessRepliesIfAny(void)
default:
ereport(FATAL,
(errcode(ERRCODE_PROTOCOL_VIOLATION),
errmsg("invalid standby closing message type %d",
errmsg("invalid standby message type %d",
firstchar)));
}
}
......
......@@ -2869,7 +2869,7 @@ PQparamtype(const PGresult *res, int param_num)
/* PQsetnonblocking:
* sets the PGconn's database connection non-blocking if the arg is TRUE
* or makes it non-blocking if the arg is FALSE, this will not protect
* or makes it blocking if the arg is FALSE, this will not protect
* you from PQexec(), you'll only be safe when using the non-blocking API.
* Needs to be called only on a connected database connection.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment