diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-07-21 13:13:15 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-07-21 13:13:15 -0400 |
commit | 22b96f883fe2a454476b4d5fd69ee46b15889169 (patch) | |
tree | 257f0120370250155ed09b4d88b94fb973d3da96 /src | |
parent | f451029db85acc9dd9856715e5490ade59fda229 (diff) | |
download | postgresql-22b96f883fe2a454476b4d5fd69ee46b15889169.tar.gz postgresql-22b96f883fe2a454476b4d5fd69ee46b15889169.zip |
Avoid C99-ism in pre-v12 branches.
Per buildfarm (I need to figure out why my own compiler did not
whine about this).
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/catalog/indexing.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/catalog/indexing.c b/src/backend/catalog/indexing.c index 674e6a8321f..2f0b0250795 100644 --- a/src/backend/catalog/indexing.c +++ b/src/backend/catalog/indexing.c @@ -187,8 +187,9 @@ CatalogTupleCheckConstraints(Relation heapRel, HeapTuple tup) { TupleDesc tupdesc = RelationGetDescr(heapRel); bits8 *bp = tup->t_data->t_bits; + int attnum; - for (int attnum = 0; attnum < tupdesc->natts; attnum++) + for (attnum = 0; attnum < tupdesc->natts; attnum++) { Form_pg_attribute thisatt = TupleDescAttr(tupdesc, attnum); |