pgsql: Make BufFileWrite() void. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Make BufFileWrite() void.
Date
Msg-id E1jl4FU-00084I-B8@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f5d18862bbb327b67cd0f33f3d11351096080665

Modified Files
--------------
src/backend/storage/file/buffile.c | 4 +---
src/include/storage/buffile.h      | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix buffile.c error handling.
Next
From: Thomas Munro
Date:
Subject: pgsql: Remove useless variable.