Re: BUG #17288: PSQL bug with COPY command (Windows) - Mailing list pgsql-bugs

From Dmitry Koval
Subject Re: BUG #17288: PSQL bug with COPY command (Windows)
Date
Msg-id f4461390-407c-00cb-9137-05bcdd390c83@postgrespro.ru
Whole thread Raw
In response to Re: BUG #17288: PSQL bug with COPY command (Windows)  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
List pgsql-bugs
Three corrections for patch
v2-0001-Fixed-Windows-stat-emulation-working-with-streams.patch:

1) I see in debugger that field "st_mode" for stdout has value
_S_IFCHR (0x2000, 8192);

2) "st_rdev" feild should have the same value as "st_dev";

3) we can not use emulated stat information for stderr after call
"freopen(OutputFileName, "a", stderr);".

With best regards,
Dmitry Koval.



pgsql-bugs by date:

Previous
From: Dmitry Koval
Date:
Subject: Re: BUG #17288: PSQL bug with COPY command (Windows)
Next
From: Amparo Martínez Milvaques
Date:
Subject: RE: BUG #17290: Error Installation