• Alvaro Herrera's avatar
    Ignore partitioned indexes where appropriate · 05fb5d66
    Alvaro Herrera authored
    get_relation_info() was too optimistic about opening indexes in
    partitioned tables, which would raise errors when any queries were
    planned on such tables.  Fix by ignoring any indexes of the partitioned
    kind.
    
    CLUSTER (and ALTER TABLE CLUSTER ON) had a similar problem.  Fix by
    disallowing these commands in partitioned tables.
    
    Fallout from 8b08f7d4.
    05fb5d66
plancat.c 60.8 KB