Re: pgsql: Add 'basebackup_to_shell' contrib module.

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: pgsql: Add 'basebackup_to_shell' contrib module.
Date: 2022-03-31 07:43:47
Message-ID: 2b697df0-d294-2047-e91f-4b5da35bdb2c@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 31.03.22 07:25, Andres Freund wrote:
> Looking at 8f3ec75de40 it seems we just assume unix sockets are available, we
> don't have a version / feature test (win32.h just defines
> HAVE_STRUCT_SOCKADDR_UN).

I think you have to handle that dynamically at run time, a bit like
IPv6: The build environment might provide symbols, structs, etc., but
the kernel might return an error when you try to create a socket.

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-03-31 09:26:04 pgsql: Add diagnostic output on error in pump_until
Previous Message Peter Eisentraut 2022-03-31 07:34:24 Re: pgsql: Allow root-owned SSL private keys in libpq, not only the backend

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2022-03-31 07:52:24 Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints
Previous Message Michael Paquier 2022-03-31 07:42:37 Re: BUG #17448: In Windows 10, version 1703 and later, huge_pages doesn't work.