diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-12-29 22:00:14 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-12-29 22:00:14 +0000 |
commit | 540e69a0613bad2b6ad15b237a8df27110f4b213 (patch) | |
tree | 13931f0f72e5b4008eeb823aa7301039684b3d85 /src/backend/utils/adt/int.c | |
parent | 649b5ec7c8a3050a30bd6d36003ba3a681c9a198 (diff) | |
download | postgresql-540e69a0613bad2b6ad15b237a8df27110f4b213.tar.gz postgresql-540e69a0613bad2b6ad15b237a8df27110f4b213.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/int.c')
0 files changed, 0 insertions, 0 deletions