Re: pg_ftruncate hardcodes length=0 but only under windows - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: pg_ftruncate hardcodes length=0 but only under windows
Date
Msg-id CA+hUKG+if7Lff8eHNvA8MidTvOfyPXRY077f8mTmH0D2Q-9RNw@mail.gmail.com
Whole thread Raw
In response to pg_ftruncate hardcodes length=0 but only under windows  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-hackers
On Fri, Jan 6, 2023 at 4:16 PM Justin Pryzby <pryzby@telsasoft.com> wrote:
> -               ret = ftruncate(fd, 0);
> +               ret = ftruncate(fd, length);

Oops.  Right.  Thanks, pushed.



pgsql-hackers by date:

Previous
From: "houzj.fnst@fujitsu.com"
Date:
Subject: Notify downstream to discard the streamed transaction which was aborted due to crash.
Next
From: "houzj.fnst@fujitsu.com"
Date:
Subject: RE: Perform streaming logical transactions by background workers and parallel apply