git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8190164) | patch
Fix lockmode initialization for custom relation options
2019年9月27日 00:31:20 +0000 (09:31 +0900)
2019年9月27日 00:31:20 +0000 (09:31 +0900)
commit fbfa5664882c9b61428266e6fb0d48b0147c421a
Fix lockmode initialization for custom relation options

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
src/backend/access/common/reloptions.c diff | blob | blame | history
src/test/modules/dummy_index_am/README diff | blob | blame | history
src/test/modules/dummy_index_am/expected/reloptions.out diff | blob | blame | history
src/test/modules/dummy_index_am/sql/reloptions.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /