pgsql: Make BufFileWrite() void.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make BufFileWrite() void.
Date: 2020-06-16 05:35:04
Message-ID: E1jl4FU-00084I-B8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2020-06-16 05:41:26 pgsql: Remove useless variable.
Previous Message Thomas Munro 2020-06-16 05:29:59 pgsql: Fix buffile.c error handling.