postgresql/src/backend/access
Alvaro Herrera 8ebe1e356c Simplify the writing of amoptions routines by introducing a convenience
fillRelOptions routine that stores the parsed values in the struct using a
table-based approach.  Per Tom suggestion.  Also remove the "continue"
in HANDLE_*_RELOPTION macros, which were useless and in spirit they were
assuming too much of how the macros were going to be used.  (Note that these
macros are now unused, but the intention is to introduce some usage in a
future autovacuum patch, which is why they weren't completely removed.)

Also, do not call the string validation routine when not validating.  It seems
less error-prone this way, per commentary on the amoptions SGML docs.
2009-01-12 21:02:15 +00:00
..
common Simplify the writing of amoptions routines by introducing a convenience 2009-01-12 21:02:15 +00:00
gin Revise the TIDBitmap API to support multiple concurrent iterations over a 2009-01-10 21:08:36 +00:00
gist Change the reloptions machinery to use a table-based parser, and provide 2009-01-05 17:14:28 +00:00
hash Change the reloptions machinery to use a table-based parser, and provide 2009-01-05 17:14:28 +00:00
heap Update copyright for 2009. 2009-01-01 17:24:05 +00:00
index Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nbtree Change the reloptions machinery to use a table-based parser, and provide 2009-01-05 17:14:28 +00:00
transam Re-enable the old code in xlog.c that tried to use posix_fadvise(), so that 2009-01-11 18:02:17 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00