From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Dalebjörk <tomas.dalebjork@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16842: pg_dump uses seek calls on pipe files: suggesting adding a flag to disable seek calls
Date: Thu, 28 Jan 2021 15:57:02 -0500
Message-ID: <2689917.1611867422@sss.pgh.pa.us> (raw)
In-Reply-To: <3EA55F53-7E84-4F6B-9043-D4DFA7184830@gmail.com>
References: <2546666.1611847966@sss.pgh.pa.us>
<3EA55F53-7E84-4F6B-9043-D4DFA7184830@gmail.com>
=?utf-8?Q?Tomas_Dalebj=C3=B6rk?= <tomas.dalebjork@gmail.com> writes:
> thanks for the feedback Tom
> is the seek enabled only if —format=custom
> or is it enabled regardless of which flag used?
There's no seeking required for plain-text output format, but of
course that's even less flexible. Don't recall offhand about tar
format.
One thing I am kind of wondering about is why the whole thing is
a problem for you at all. If the device refuses seeks, shouldn't
our probe fail, and then we'll go on our way without data offsets?
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, tomas.dalebjork@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16842: pg_dump uses seek calls on pipe files: suggesting adding a flag to disable seek calls
In-Reply-To: <2689917.1611867422@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