From: Tom Lane <tgl@sss.pgh.pa.us>
To: Meera Nair <mnair@commvault.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: Joel Howard <joelhoward@commvault.com>
Subject: Re: Query related to pg_dump write to a pipe on a windows client and with compressed format
Date: Fri, 01 Dec 2023 13:19:28 -0500
Message-ID: <124574.1701454768@sss.pgh.pa.us> (raw)
In-Reply-To: <SJ1PR19MB6162A2DD8656F0E0C6A544A9BA81A@SJ1PR19MB6162.namprd19.prod.outlook.com>
References: <SJ1PR19MB6162A2DD8656F0E0C6A544A9BA81A@SJ1PR19MB6162.namprd19.prod.outlook.com>
Meera Nair <mnair@commvault.com> writes:
> We tried pg_dump write to a pipe with compressed format and faced issue as in thread referred here.
> It was on windows client and for postgres 9.2 version. So during pg_restore, seek error was seen.
Are you really using PG 9.2.something? If not, then what?
The problem here probably is that pg_restore is failing to detect
that the pipe input file is not seekable. We've had repeated rounds
of fixes to try to detect that reliably on Windows. I think it works
if you are running a current PG release (something shipped in the last
six months), but maybe not with older ones.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, mnair@commvault.com, joelhoward@commvault.com
Subject: Re: Query related to pg_dump write to a pipe on a windows client and with compressed format
In-Reply-To: <124574.1701454768@sss.pgh.pa.us>
References: <SJ1PR19MB6162A2DD8656F0E0C6A544A9BA81A@SJ1PR19MB6162.namprd19.prod.outlook.com> <124574.1701454768@sss.pgh.pa.us>
* 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