pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix build of Perl-using modules of Windows
Date: Mon, 16 Dec 2019 10:53:17 +0000
Message-ID: <E1igo05-0005OO-G0@gemulon.postgresql.org> (raw)

Fix build of Perl-using modules of Windows

Commit f14413b684d57211068ee56ee04695efcc87a23a broke the build of
Perl-using modules on Windows.

Perl might have its own definitions of uid_t and gid_t, so we hide
ours, but then we can't use ours in our header files such as port.h
which don't see the Perl definition.

Hide our definition of getpeereid() on Windows in Perl-using modules,
using PLPERL_HAVE_UID_GID define.  That means we can't portably use
getpeeruid() is such modules right now, but there is no need anyway.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/502423180a8cc9214861bffcb8405a42f146f160

Modified Files
--------------
src/include/port.h | 3 +++
1 file changed, 3 insertions(+)



Message-ID: <E1igo05-0005OO-G0@gemulon.postgresql.org>
Permalink:  ../E1igo05-0005OO-G0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1igo05-0005OO-G0@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: peter@eisentraut.org
  Subject: Re: pgsql: Fix build of Perl-using modules of Windows
  In-Reply-To: <E1igo05-0005OO-G0@gemulon.postgresql.org>
  References: <E1igo05-0005OO-G0@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