mirror of
https://github.com/postgres/postgres.git
synced 2026-02-26 19:30:25 -05:00
Avoid C99-ism in pre-v12 branches.
Per buildfarm (I need to figure out why my own compiler did not whine about this).
This commit is contained in:
parent
f451029db8
commit
22b96f883f
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue