postgresql/src/include/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
..
attnum.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
clog.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
genam.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
gin.h Revise the TIDBitmap API to support multiple concurrent iterations over a 2009-01-10 21:08:36 +00:00
gist_private.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
gist.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
gistscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
hash.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
heapam.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
hio.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
htup.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
itup.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
multixact.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nbtree.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
printtup.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
reloptions.h Simplify the writing of amoptions routines by introducing a convenience 2009-01-12 21:02:15 +00:00
relscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
rewriteheap.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
rmgr.h Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
sdir.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
skey.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
slru.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
subtrans.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
sysattr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
transam.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tupdesc.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tupmacs.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tuptoaster.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
twophase_rmgr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
twophase.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
valid.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
visibilitymap.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
xact.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
xlog_internal.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
xlog.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
xlogdefs.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
xlogutils.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00