mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add missing "!= NULL", for the sake of consistency.
Fujii Masao
This commit is contained in:
@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c,v 1.1 2010/01/20 09:16:24 heikki Exp $
|
* $PostgreSQL: pgsql/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c,v 1.2 2010/01/20 11:58:44 heikki Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -62,7 +62,8 @@ void
|
|||||||
_PG_init(void)
|
_PG_init(void)
|
||||||
{
|
{
|
||||||
/* Tell walreceiver how to reach us */
|
/* Tell walreceiver how to reach us */
|
||||||
if (walrcv_connect != NULL || walrcv_receive != NULL || walrcv_disconnect)
|
if (walrcv_connect != NULL || walrcv_receive != NULL ||
|
||||||
|
walrcv_disconnect != NULL)
|
||||||
elog(ERROR, "libpqwalreceiver already loaded");
|
elog(ERROR, "libpqwalreceiver already loaded");
|
||||||
walrcv_connect = libpqrcv_connect;
|
walrcv_connect = libpqrcv_connect;
|
||||||
walrcv_receive = libpqrcv_receive;
|
walrcv_receive = libpqrcv_receive;
|
||||||
|
Reference in New Issue
Block a user