Re: Simplified version of read_binary_file (src/backend/utils/adt/genfile.c)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Simplified version of read_binary_file (src/backend/utils/adt/genfile.c)
Date: 2020-09-11 20:02:03
Message-ID: CAEudQAq9+w3NPWH7F5Cb3Ep6io7qbZG80LBQiae5O3K+2t8JMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

New version, with support to read Virtual File (pipe, FIFO and socket).
With assert, in case, erroneous, of trying to read a pipe, with offset.

regards,
Ranier Vilela

Attachment Content-Type Size
v2-0001-simplified_read_binary_file.patch application/octet-stream 4.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2020-09-11 20:05:13 Re: Allow CURRENT_ROLE in GRANTED BY
Previous Message Mark Dilger 2020-09-11 19:56:59 Re: factorial function/phase out postfix operators?