pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Adjust signature of walrcv_receive hook.
Date: Thu, 14 Apr 2016 17:49:42 +0000
Message-ID: <E1aqlOg-0005z0-SL@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Adjust signature of walrcv_receive hook.

Commit 314cbfc5da988eff redefined the signature of this hook as
typedef int (*walrcv_receive_type) (char **buffer, int *wait_fd);

But in fact the type of the "wait_fd" variable ought to be pgsocket,
which is what WaitLatchOrSocket expects, and which is necessary if
we want to be able to assign PGINVALID_SOCKET to it on Windows.
So fix that.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c2dc194bdbf5f84ceb433ed416eb389c1234ebc9

Modified Files
--------------
src/backend/replication/README                              | 4 ++--
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 6 +++---
src/backend/replication/walreceiver.c                       | 2 +-
src/include/replication/walreceiver.h                       | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1aqlOg-0005z0-SL@gemulon.postgresql.org>
Permalink:  ../E1aqlOg-0005z0-SL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aqlOg-0005z0-SL@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Adjust signature of walrcv_receive hook.
  In-Reply-To: <E1aqlOg-0005z0-SL@gemulon.postgresql.org>
  References: <E1aqlOg-0005z0-SL@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox