Skip to content
Snippets Groups Projects
Commit 540e69a0 authored by Tom Lane's avatar Tom Lane
Browse files

Add an index on pg_inherits.inhparent, and use it to avoid seqscans in

find_inheritance_children().  This is a complete no-op in databases without
any inheritance.  In databases where there are just a few entries in
pg_inherits, it could conceivably be a small loss.  However, in databases with
many inheritance parents, it can be a big win.
parent 649b5ec7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment