Re: ABI Compliance Checker GSoC Project

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Cc: Mankirat Singh <mankiratsingh1315(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: ABI Compliance Checker GSoC Project
Date: 2025-06-04 15:15:10
Message-ID: 0FF49225-5B14-471F-AE29-86AA1AE947E7@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jun 4, 2025, at 09:43, Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:

> You mentioned ReadStream, but that's not exported.

I this not an export at line 67?

```
❯ rg ReadStream src/include/storage/read_stream.h

50: * the ReadStreamBlockNumberCB callback to abide by the restrictions of AIO
66:struct ReadStream;
67:typedef struct ReadStream ReadStream;
70:typedef struct BlockRangeReadStreamPrivate
74:} BlockRangeReadStreamPrivate;
77:typedef BlockNumber (*ReadStreamBlockNumberCB) (ReadStream *stream,
81:extern BlockNumber block_range_read_stream_cb(ReadStream *stream,
84:extern ReadStream *read_stream_begin_relation(int flags,
88: ReadStreamBlockNumberCB callback,
91:extern Buffer read_stream_next_buffer(ReadStream *stream, void **per_buffer_data);
92:extern BlockNumber read_stream_next_block(ReadStream *stream,
94:extern ReadStream *read_stream_begin_smgr_relation(int flags,
99: ReadStreamBlockNumberCB callback,
102:extern void read_stream_reset(ReadStream *stream);
103:extern void read_stream_end(ReadStream *stream);
```

Best,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Pyhalov 2025-06-04 15:15:11 Re: postgres_fdw could deparse ArrayCoerceExpr
Previous Message Nathan Bossart 2025-06-04 14:52:38 Re: fix notes about password encryption in pg_authid docs