Justin Pryzby <pry...@telsasoft.com> writes:
> It's of no concern, but I was curious why this one wasn't included:

> commit 72aea955d49712a17c08748aa9abcbcf98c32fc5
> Author: Thomas Munro <tmu...@postgresql.org>
> Date:   Fri Jan 6 16:38:46 2023 +1300

>     Fix pg_truncate() on Windows.
    
>     Commit 57faaf376 added pg_truncate(const char *path, off_t length), but
>     "length" was ignored under WIN32 and the file was unconditionally
>     truncated to 0.
    
>     There was no live bug, since the only caller passes 0.

I concluded that due to the lack of live bug, this would not be of
interest to end users.  The back-patch was just for future-proofing.

                        regards, tom lane


Reply via email to