postgresql/src/backend/access
Alvaro Herrera 773df883e8 Support reloptions of enum type
All our current in core relation options of type string (not many,
admittedly) behave in reality like enums.  But after seeing an
implementation for enum reloptions, it's clear that strings are messier,
so introduce the new reloption type.  Switch all string options to be
enums instead.

Fortunately we have a recently introduced test module for reloptions, so
we don't lose coverage of string reloptions, which may still be used by
third-party modules.

Authors: Nikolay Shaplov, Álvaro Herrera
Reviewed-by: Nikita Glukhov, Aleksandr Parfenov
Discussion: https://postgr.es/m/43332102.S2V5pIjXRx@x200m
2019-09-25 15:56:52 -03:00
..
brin Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
common Support reloptions of enum type 2019-09-25 15:56:52 -03:00
gin Fix overflow check and comment in GIN posting list encoding. 2019-08-28 12:55:33 +03:00
gist Support reloptions of enum type 2019-09-25 15:56:52 -03:00
hash Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
heap Speedup truncations of relation forks. 2019-09-24 17:31:26 +09:00
index Fix freeing old values in index_store_float8_orderby_distances() 2019-09-20 01:19:08 +03:00
nbtree Remove redundant _bt_truncate() comment paragraph. 2019-09-12 09:51:27 -07:00
rmgrdesc Fix nbtree page split rmgr desc routine. 2019-09-12 15:45:08 -07:00
spgist Fix bug in pairingheap_SpGistSearchItem_cmp() 2019-09-25 01:47:36 +03:00
table Create an API for inserting and deleting rows in TOAST tables. 2019-09-06 10:38:51 -04:00
tablesample Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
transam Rework WAL-reading supporting structs 2019-09-24 16:39:53 -03:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00