pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Cc: Daniel Watzinger <daniel.watzinger@gmail.com>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-hackers@postgresql.org
Subject: Re: pg_dump/pg_restore: Fix stdin/stdout handling of custom format on Win32
Date: Wed, 15 Mar 2023 12:58:28 +0900
Message-ID: <ZBFCZPdO1AEF7IGK@paquier.xyz> (raw)
In-Reply-To: <CAC+AXB110=KAhu2XMX45oPX6G9ePEGwUGtCC2c4AMXQcEuwAPw@mail.gmail.com>
References: <0F43E234-48F2-4C99-BCBE-6C41F053C666@yesql.se>
	<20221216235524.8483-1-daniel.watzinger@gmail.com>
	<ZABJu+xuCUbWqnkF@paquier.xyz>
	<CAC+AXB3W=22MvF5G_H9xaJ4n0jkF8HqPGpHte05DZTPkNTemTw@mail.gmail.com>
	<CAC+AXB23S=JiFY9jFWq3FTHByNZZn37f9v3h=7j5UsbumqHKBw@mail.gmail.com>
	<ZAqJ38jFIm5LBpYI@paquier.xyz>
	<CAC+AXB3UBN4ivbuu6Fn73HN3mgdhJF04_0U-nRLU1KjsyaadRA@mail.gmail.com>
	<ZA+0iQ4y375osDjJ@paquier.xyz>
	<CAD9KL3OvAmfY-gAh2Fgn-5FZCq7ugHqAoTfe=AXuNFSRC5f16A@mail.gmail.com>
	<CAC+AXB110=KAhu2XMX45oPX6G9ePEGwUGtCC2c4AMXQcEuwAPw@mail.gmail.com>

On Tue, Mar 14, 2023 at 01:47:09PM +0100, Juan José Santamaría Flecha wrote:
> I have just posted a patch to enforce the detection of unseekable streams
> in the fseek() calls [1], please feel free to review it.

Thanks.  I have been able to get around 0001 to fix _pgfstat64() and
applied it down to v14 where this code has been introduced.  Now to
the part about fseek() and ftello()..
--
Michael

Attachments:

  [application/pgp-signature] signature.asc (832B, ../ZBFCZPdO1AEF7IGK@paquier.xyz/2-signature.asc)
  download

view thread (12+ messages)

Message-ID: <ZBFCZPdO1AEF7IGK@paquier.xyz>
Permalink:  ../ZBFCZPdO1AEF7IGK@paquier.xyz/
Also on:    postgresql.org/message-id/ZBFCZPdO1AEF7IGK@paquier.xyz

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, juanjo.santamaria@gmail.com, daniel.watzinger@gmail.com, daniel@yesql.se
  Subject: Re: pg_dump/pg_restore: Fix stdin/stdout handling of custom format on Win32
  In-Reply-To: <ZBFCZPdO1AEF7IGK@paquier.xyz>

* 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