diff options
Diffstat (limited to 'src/backend/partitioning/partbounds.c')
-rw-r--r-- | src/backend/partitioning/partbounds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/partitioning/partbounds.c b/src/backend/partitioning/partbounds.c index 7f74ed212f..a49e97a225 100644 --- a/src/backend/partitioning/partbounds.c +++ b/src/backend/partitioning/partbounds.c @@ -4321,11 +4321,11 @@ get_qual_for_range(Relation parent, PartitionBoundSpec *spec, PartitionDesc pdesc = RelationGetPartitionDesc(parent, false); Oid *inhoids = pdesc->oids; int nparts = pdesc->nparts, - i; + k; - for (i = 0; i < nparts; i++) + for (k = 0; k < nparts; k++) { - Oid inhrelid = inhoids[i]; + Oid inhrelid = inhoids[k]; HeapTuple tuple; Datum datum; bool isnull; |