diff options
Diffstat (limited to 'src/backend/access/common/reloptions.c')
-rw-r--r-- | src/backend/access/common/reloptions.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/common/reloptions.c b/src/backend/access/common/reloptions.c index 69ab2f101c7..e0c9c3431c6 100644 --- a/src/backend/access/common/reloptions.c +++ b/src/backend/access/common/reloptions.c @@ -1495,9 +1495,9 @@ index_reloptions(amoptions_function amoptions, Datum reloptions, bool validate) bytea * index_generic_reloptions(Datum reloptions, bool validate) { - int numoptions; + int numoptions; GenericIndexOpts *idxopts; - relopt_value *options; + relopt_value *options; static const relopt_parse_elt tab[] = { {"recheck_on_update", RELOPT_TYPE_BOOL, offsetof(GenericIndexOpts, recheck_on_update)} }; @@ -1512,12 +1512,12 @@ index_generic_reloptions(Datum reloptions, bool validate) idxopts = allocateReloptStruct(sizeof(GenericIndexOpts), options, numoptions); - fillRelOptions((void *)idxopts, sizeof(GenericIndexOpts), options, numoptions, + fillRelOptions((void *) idxopts, sizeof(GenericIndexOpts), options, numoptions, validate, tab, lengthof(tab)); pfree(options); - return (bytea*) idxopts; + return (bytea *) idxopts; } /* |