Re: ABI Compliance Checker GSoC Project - Mailing list pgsql-hackers

From Andres Freund
Subject Re: ABI Compliance Checker GSoC Project
Date
Msg-id o2jz3djagnwdvvuncnizd4vekp6goxjzjx2e555hz67k7aiaoa@7nxs2r5m7waf
Whole thread Raw
In response to Re: ABI Compliance Checker GSoC Project  ("David E. Wheeler" <david@justatheory.com>)
Responses Re: ABI Compliance Checker GSoC Project
List pgsql-hackers
Hi,

On 2025-06-04 11:15:10 -0400, David E. Wheeler wrote:
> On Jun 4, 2025, at 09:43, Álvaro Herrera <alvherre@kurilemu.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;

No. It just makes the *name* of the struct visible. The type's definition is
in the .c file and therefore not visible outside of read_stream.c.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: [19] Proposal: function markers to indicate collation/ctype sensitivity
Next
From: Nathan Bossart
Date:
Subject: Re: Partitioned tables and [un]loggedness