forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit414dd89
Fix pg_truncate() on Windows.
Commit57faaf3 added pg_truncate(const char *path, off_t length), but"length" was ignored under WIN32 and the file was unconditionallytruncated to 0.There was no live bug, since the only caller passes 0.Fix, and back-patch to 14 where the function arrived.Author: Justin Pryzby <pryzby@telsasoft.com>Discussion:https://postgr.es/m/20230106031652.GR3109%40telsasoft.com1 parent6652879 commit414dd89
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
638 | 638 |
| |
639 | 639 |
| |
640 | 640 |
| |
641 |
| - | |
| 641 | + | |
642 | 642 |
| |
643 | 643 |
| |
644 | 644 |
| |
|
0 commit comments
Comments
(0)