postgresql/src/backend/commands
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
..
aggregatecmds.c Implement OR REPLACE option for CREATE AGGREGATE. 2019-03-19 01:16:50 +00:00
alter.c Add an enforcement mechanism for global object names in regression tests. 2019-06-29 11:34:00 -04:00
amcmds.c Initial pgindent run for v12. 2019-05-22 12:55:34 -04:00
analyze.c Allow setting statistics target for extended statistics 2019-09-11 00:25:51 +02:00
async.c Make some efficiency improvements in LISTEN/NOTIFY. 2019-09-22 11:46:29 -04:00
cluster.c Split tuptoaster.c into three separate files. 2019-09-05 13:15:10 -04:00
collationcmds.c Collations with nondeterministic comparison 2019-03-22 12:12:43 +01:00
comment.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
constraint.c Initial pgindent run for v12. 2019-05-22 12:55:34 -04:00
conversioncmds.c Remove dead encoding-conversion functions. 2019-07-05 14:17:27 -04:00
copy.c Fix inconsistencies and typos in the tree, take 9 2019-08-05 12:14:58 +09:00
createas.c Represent Lists as expansible arrays, not chains of cons-cells. 2019-07-15 13:41:58 -04:00
dbcommands.c Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
define.c Fix inconsistencies and typos in the tree, take 9 2019-08-05 12:14:58 +09:00
discard.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
dropcmds.c Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
event_trigger.c Remove superfluous newlines in function prototypes. 2019-07-31 00:05:21 -07:00
explain.c Represent Lists as expansible arrays, not chains of cons-cells. 2019-07-15 13:41:58 -04:00
extension.c Reduce memory consumption for multi-statement query strings. 2019-07-10 14:32:38 -04:00
foreigncmds.c Represent Lists as expansible arrays, not chains of cons-cells. 2019-07-15 13:41:58 -04:00
functioncmds.c Fix more typos and inconsistencies in the tree 2019-06-17 16:13:16 +09:00
indexcmds.c Fix progress report of REINDEX INDEX 2019-09-20 12:56:00 -03:00
lockcmds.c Avoid using lcons and list_delete_first where it's easy to do so. 2019-07-17 11:15:34 -04:00
Makefile Move vacuumlazy.c into access/heap. 2019-01-15 12:06:19 -08:00
matview.c tableam: Rename wrapper functions to match callback names. 2019-05-23 16:32:36 -07:00
opclasscmds.c Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
operatorcmds.c Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
policy.c Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
portalcmds.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
prepare.c Fix inconsistencies and typos in the tree, take 9 2019-08-05 12:14:58 +09:00
proclang.c Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
publicationcmds.c Warn if wal_level is too low when creating a publication. 2019-07-13 10:35:34 +12:00
schemacmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
seclabel.c Represent Lists as expansible arrays, not chains of cons-cells. 2019-07-15 13:41:58 -04:00
sequence.c Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
statscmds.c Allow setting statistics target for extended statistics 2019-09-11 00:25:51 +02:00
subscriptioncmds.c Add an enforcement mechanism for global object names in regression tests. 2019-06-29 11:34:00 -04:00
tablecmds.c Avoid using INFO elevel for what are fundamentally debug messages. 2019-09-07 19:03:11 -04:00
tablespace.c pgindent run prior to branching v12. 2019-07-01 12:37:52 -04:00
trigger.c Reorder EPQ work, to fix rowmark related bugs and improve efficiency. 2019-09-09 05:14:11 -07:00
tsearchcmds.c Represent Lists as expansible arrays, not chains of cons-cells. 2019-07-15 13:41:58 -04:00
typecmds.c Avoid using lcons and list_delete_first where it's easy to do so. 2019-07-17 11:15:34 -04:00
user.c Add an enforcement mechanism for global object names in regression tests. 2019-06-29 11:34:00 -04:00
vacuum.c Fix inconsistencies and typos in the tree, take 11 2019-08-19 16:21:39 +09:00
variable.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
view.c Support reloptions of enum type 2019-09-25 15:56:52 -03:00