Simplified version of read_binary_file (src/backend/utils/adt/genfile.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Simplified version of read_binary_file (src/backend/utils/adt/genfile.c)
Date
Msg-id CAEudQAoW1MLb7eNrm0FXjDu=T40sv1Wxm7jrqkUWGAscHObidg@mail.gmail.com
Whole thread Raw
Responses Re: Simplified version of read_binary_file (src/backend/utils/adt/genfile.c)  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Hi,

read_binary_file seems a bit complicated when we want to read the rest of the file (-1 for bytes_to_read).
This version, it seems, has no opposite effects, someone can confirm?

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Logical Replication - detail message with names of missing columns
Next
From: Tom Lane
Date:
Subject: Re: Logical Replication - detail message with names of missing columns