projects
/
postgresql-pgindent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb71329
)
Avoid C99-ism in pre-v12 branches.
author
Tom Lane
<
[email protected]
>
Tue, 21 Jul 2020 17:13:15 +0000
(13:13 -0400)
committer
Tom Lane
<
[email protected]
>
Tue, 21 Jul 2020 17:13:27 +0000
(13:13 -0400)
Per buildfarm (I need to figure out why my own compiler did not
whine about this).
src/backend/catalog/indexing.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/indexing.c
b/src/backend/catalog/indexing.c
index 04aade41fd3b3595cb559265d7972f034993fbec..b872ea4c41df7a8bf2ab125bfa62b42957c0d31a 100644
(file)
--- a/
src/backend/catalog/indexing.c
+++ b/
src/backend/catalog/indexing.c
@@
-186,8
+186,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);