Make BufFileWrite() void.

Thomas Munro <tmunro@postgresql.org>

Commit: f5d18862bbb327b67cd0f33f3d11351096080665
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2020-06-16T05:33:04Z
Releases: 14.0
Make BufFileWrite() void.

It now either returns after it wrote all the data you gave it, or raises
an error.  Not done in back-branches, because it might cause problems
for external code.

Discussion: https://postgr.es/m/CA%2BhUKGJE04G%3D8TLK0DLypT_27D9dR8F1RQgNp0jK6qR0tZGWOw%40mail.gmail.com

Files

PathChange+/−
src/backend/storage/file/buffile.c modified +1 −3
src/include/storage/buffile.h modified +1 −1

Discussion