summaryrefslogtreecommitdiff
path: root/src/test/modules/dummy_index_am/expected
AgeCommit message (Collapse)Author
2019-09-27Fix lockmode initialization for custom relation optionsMichael Paquier
The code was enforcing AccessExclusiveLock for all custom relation options, which is incorrect as the APIs allow a custom lock level to be set. While on it, fix a couple of inconsistencies in the tests and the README of dummy_index_am. Oversights in commit 773df88. Discussion: https://postgr.es/m/20190925234152.GA2115@paquier.xyz
2019-09-25Update expected output for dummy_index_amAlvaro Herrera
Forgot to add the file in the previous commit.
2019-09-25Make more stable regression tests of dummy_index_am for string validationsMichael Paquier
Several buildfarm members (crake, loach and spurfowl) are complaining about two queries looking up at pg_class.reloptions which trigger the validation routines for string reloptions with default values. This commit limits the routines to be triggered only when building an index with all custom options set in CREATE INDEX, which is sufficient for the coverage. Introduced by 640c198.
2019-09-25Add dummy_index_am to src/test/modules/Michael Paquier
This includes more tests dedicated to relation options, bringing the coverage of this code close to 100%, and the module can be used for other purposes, like a base template for an index AM implementation. Author: Nikolay Sharplov, Michael Paquier Reviewed-by: Álvaro Herrera, Dent John Discussion: https://postgr.es/m/17071942.m9zZutALE6@x200m