Content-Length: 276765 | pFad | http://github.com/postgrespro/postgres/commit/b3a1ef53c3ce6f91226303a2455e932de475cde3

10 Add missing "!= NULL", for the sake of consistency. · postgrespro/postgres@b3a1ef5 · GitHub
Skip to content

Commit b3a1ef5

Browse files
committed
Add missing "!= NULL", for the sake of consistency.
Fujii Masao
1 parent e31bf1c commit b3a1ef5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/replication/libpqwalreceiver/libpqwalreceiver.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c,v 1.1 2010/01/20 09:16:24 heikki Exp $
13+
* $PostgreSQL: pgsql/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c,v 1.2 2010/01/20 11:58:44 heikki Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -62,7 +62,8 @@ void
6262
_PG_init(void)
6363
{
6464
/* Tell walreceiver how to reach us */
65-
if (walrcv_connect != NULL || walrcv_receive != NULL || walrcv_disconnect)
65+
if (walrcv_connect != NULL || walrcv_receive != NULL ||
66+
walrcv_disconnect != NULL)
6667
elog(ERROR, "libpqwalreceiver already loaded");
6768
walrcv_connect = libpqrcv_connect;
6869
walrcv_receive = libpqrcv_receive;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b3a1ef53c3ce6f91226303a2455e932de475cde3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy