diff options
author | John Naylor <john.naylor@postgresql.org> | 2021-07-14 09:52:04 -0400 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2021-07-14 09:52:04 -0400 |
commit | c203dcddf997180000bc574a60313f3437e35af9 (patch) | |
tree | 042fb8c87cd37ef63f7192119b3cc02e465927be /src/backend/utils/cache | |
parent | eec57115e4c866f26bdc8bcbe3e2e7be4c6d0450 (diff) | |
download | postgresql-c203dcddf997180000bc574a60313f3437e35af9.tar.gz postgresql-c203dcddf997180000bc574a60313f3437e35af9.zip |
Remove unused function parameter in get_qual_from_partbound
Commit 0563a3a8b changed how partition constraints were generated such
that this function no longer computes the mapping of parent attnos to
child attnos.
This is an external function that extensions could use, so this is
potentially a breaking change. No external callers are known, however,
and this will make it simpler to write such callers in the future.
Author: Hou Zhijie
Reviewed-by: David Rowley, Michael Paquier, Soumyadeep Chakraborty
Discussion: https://www.postgresql.org/message-id/flat/OS0PR01MB5716A75A45BE46101A1B489894379@OS0PR01MB5716.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/backend/utils/cache')
-rw-r--r-- | src/backend/utils/cache/partcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/cache/partcache.c b/src/backend/utils/cache/partcache.c index 21e60f0c5e8..f2b48678864 100644 --- a/src/backend/utils/cache/partcache.c +++ b/src/backend/utils/cache/partcache.c @@ -376,7 +376,7 @@ generate_partition_qual(Relation rel) bound = castNode(PartitionBoundSpec, stringToNode(TextDatumGetCString(boundDatum))); - my_qual = get_qual_from_partbound(rel, parent, bound); + my_qual = get_qual_from_partbound(parent, bound); } ReleaseSysCache(tuple); |