mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Fix some ill-chosen names for globally-visible partition support functions.
"compute_hash_value" is particularly gratuitously generic, but IMO all of these ought to have names clearly related to partitioning.
This commit is contained in:
8
src/backend/utils/cache/partcache.c
vendored
8
src/backend/utils/cache/partcache.c
vendored
@ -499,10 +499,10 @@ RelationBuildPartitionDesc(Relation rel)
|
||||
continue;
|
||||
}
|
||||
|
||||
lower = make_one_range_bound(key, i, spec->lowerdatums,
|
||||
true);
|
||||
upper = make_one_range_bound(key, i, spec->upperdatums,
|
||||
false);
|
||||
lower = make_one_partition_rbound(key, i, spec->lowerdatums,
|
||||
true);
|
||||
upper = make_one_partition_rbound(key, i, spec->upperdatums,
|
||||
false);
|
||||
all_bounds[ndatums++] = lower;
|
||||
all_bounds[ndatums++] = upper;
|
||||
i++;
|
||||
|
Reference in New Issue
Block a user