diff options
author | Tom Lane | 2018-04-26 18:47:16 +0000 |
---|---|---|
committer | Tom Lane | 2018-04-26 18:47:16 +0000 |
commit | bdf46af748d0f15f257c99bf06e9e25aba6a24f9 (patch) | |
tree | 3637d69ad413fdc23098cc2cf94b2cd57fd44dab /src/backend/access/common | |
parent | f83bf385c1dad4964e0d899174989a1668536182 (diff) |
Post-feature-freeze pgindent run.
Discussion: https://postgr.es/m/15719.1523984266@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/common')
-rw-r--r-- | src/backend/access/common/heaptuple.c | 4 | ||||
-rw-r--r-- | src/backend/access/common/indextuple.c | 4 | ||||
-rw-r--r-- | src/backend/access/common/reloptions.c | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index b9802b92c0b..104172184fd 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -1685,8 +1685,8 @@ slot_getsomeattrs(TupleTableSlot *slot, int attnum) attno = slot->tts_nvalid; /* - * If tuple doesn't have all the atts indicated by attnum, read the - * rest as NULLs or missing values + * If tuple doesn't have all the atts indicated by attnum, read the rest + * as NULLs or missing values */ if (attno < attnum) slot_getmissingattrs(slot, attno, attnum); diff --git a/src/backend/access/common/indextuple.c b/src/backend/access/common/indextuple.c index ca690e522f7..aa52a96259e 100644 --- a/src/backend/access/common/indextuple.c +++ b/src/backend/access/common/indextuple.c @@ -489,8 +489,8 @@ index_truncate_tuple(TupleDesc sourceDescriptor, IndexTuple source, Assert(IndexTupleSize(truncated) <= IndexTupleSize(source)); /* - * Cannot leak memory here, TupleDescCopy() doesn't allocate any - * inner structure, so, plain pfree() should clean all allocated memory + * Cannot leak memory here, TupleDescCopy() doesn't allocate any inner + * structure, so, plain pfree() should clean all allocated memory */ pfree(truncdesc); 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; } /* |