Change the reloptions machinery to use a table-based parser, and provide
Alvaro Herrera <alvherre@alvh.no-ip.org>
Change the reloptions machinery to use a table-based parser, and provide a more complete framework for writing custom option processing routines by user-defined access methods. Catalog version bumped due to the general API changes, which are going to affect user-defined "amoptions" routines.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/reloptions.c | modified | +547 −98 |
| src/backend/access/gin/ginutil.c | modified | +2 −11 |
| src/backend/access/gist/gistutil.c | modified | +3 −4 |
| src/backend/access/hash/hashutil.c | modified | +3 −4 |
| src/backend/access/nbtree/nbtutils.c | modified | +2 −4 |
| src/include/access/reloptions.h | modified | +157 −10 |
| src/include/catalog/catversion.h | modified | +2 −2 |