aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeAgg.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-05-14 13:09:32 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-05-14 13:23:07 -0400
commit4eaa53727542c39cca71b80e8ff3e1f742d64452 (patch)
tree3ce58902c650466784d36a760a9891cb92d308e7 /src/backend/executor/nodeAgg.c
parentfc2a41e23e10f2338be4907f71c277ea09526680 (diff)
downloadpostgresql-4eaa53727542c39cca71b80e8ff3e1f742d64452.tar.gz
postgresql-4eaa53727542c39cca71b80e8ff3e1f742d64452.zip
Don't allow partitioned index on foreign-table partitions
Creating indexes on foreign tables is already forbidden, but local partitioned indexes (commit 8b08f7d4820f) forgot to check for them. Add a preliminary check to prevent wasting time. Another school of thought says to allow the index to be created if it's not a unique index; but it's possible to do better in the future (enable indexing of foreign tables, somehow), so we avoid painting ourselves in a corner by rejecting all cases, to avoid future grief (a.k.a. backward incompatible changes). Reported-by: Arseny Sher Author: Amit Langote, Álvaro Herrera Discussion: https://postgr.es/m/87sh71cakz.fsf@ars-thinkpad
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
0 files changed, 0 insertions, 0 deletions