pgsql: Fix pq_getbyte_if_available() function.

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pq_getbyte_if_available() function.
Date: 2010-02-18 11:13:46
Message-ID: 20100218111347.00AD67541C5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix pq_getbyte_if_available() function. It was confused on what it
returns if no data is immediately available. Patch by me with numerous
fixes from Fujii Masao and Magnus Hagander.

Modified Files:
--------------
pgsql/src/backend/libpq:
be-secure.c (r1.96 -> r1.97)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/be-secure.c?r1=1.96&r2=1.97)
pqcomm.c (r1.203 -> r1.204)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/pqcomm.c?r1=1.203&r2=1.204)
pgsql/src/backend/replication:
walsender.c (r1.6 -> r1.7)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walsender.c?r1=1.6&r2=1.7)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2010-02-18 11:37:18 Re: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL
Previous Message Takahiro Itagaki 2010-02-18 04:31:16 pgsql: date_recv should accept infinities.