projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f451029
)
Avoid C99-ism in pre-v12 branches.
author
Tom Lane
Tue, 21 Jul 2020 17:13:15 +0000
(13:13 -0400)
committer
Tom Lane
Tue, 21 Jul 2020 17:13:15 +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 674e6a8321ff8e68b52c3742f665c403263bea82..2f0b02507959b39b245f2a9492727efb7aa71aaf 100644
(file)
--- 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);