Re: Add test module for Table Access Method - Mailing list pgsql-hackers

From Bharath Rupireddy
Subject Re: Add test module for Table Access Method
Date
Msg-id CALj2ACWYQbU4_6UA5p24Vc5UKnp11sFh0E7qefqcJX2RaE-Rnw@mail.gmail.com
Whole thread Raw
In response to Re: Add test module for Table Access Method  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add test module for Table Access Method
Re: Add test module for Table Access Method
List pgsql-hackers
On Tue, Jan 16, 2024 at 10:28 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> Hmm.  I'd rather have it do something useful in terms of test coverage
> rather than being just an empty skull.
>
> How about adding the same kind of coverage as dummy_index_am with a
> couple of reloptions then?  That can serve as a point of reference
> when a table AM needs a few custom options.  A second idea would be to
> show how to use toast relations when implementing your new AM, where a
> toast table could be created even in cases where we did not want one
> with heap, when it comes to size limitations with char and/or varchar,
> and that makes for a simpler needs_toast_table callback.

I think a test module for a table AM will really help developers. Just
to add to the above list - how about the table AM implementing a
simple in-memory (columnar if possible) database storing tables
in-memory and subsequently providing readers with the access to the
tables?

--
Bharath Rupireddy
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: introduce dynamic shared memory registry
Next
From: Bharath Rupireddy
Date:
Subject: Re: minor replication slot docs edits