Re: [PATCH] src/test/modules/dummy_index -- way to test reloptionsfrom inside of access method - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [PATCH] src/test/modules/dummy_index -- way to test reloptionsfrom inside of access method
Date
Msg-id 20190924122554.GA23698@alvherre.pgsql
Whole thread Raw
In response to Re: [PATCH] src/test/modules/dummy_index -- way to test reloptionsfrom inside of access method  (Michael Paquier <michael@paquier.xyz>)
Responses Re: [PATCH] src/test/modules/dummy_index -- way to test reloptions from inside of access method
List pgsql-hackers
On 2019-Sep-24, Michael Paquier wrote:

> I looked at that over the last couple of days, and done as attached.
> Well, the actual module is in 0003.  I have added more comments to
> document the basic AM calls so as it can easier be used as a template
> for some other work, and tweaked a couple of things.  0001 and 0002
> are just the patches from the other thread to address the issues with
> the lock mode of custom reloptions.

0003 looks useful, thanks for completing it.  I think it would be a good
idea to test invalid values for each type of reloption too (passing
floating point to integers, strings to floating point, and so on).
If you can get this pushed, I'll push the enum reloptions on top.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Index Skip Scan
Next
From: Amit Kapila
Date:
Subject: Re: dropdb --force