aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/tablespace.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-06 04:13:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-06 04:13:36 +0000
commit9a586fe0c5a9228cc60428207a3fb64fb392b848 (patch)
tree41b2a2cdcddc6f5b627e1f6817e91e2ba0b859e8 /src/backend/commands/tablespace.c
parent9ab4d98168407c3436d3f0e02d32720b0d9075a0 (diff)
downloadpostgresql-9a586fe0c5a9228cc60428207a3fb64fb392b848.tar.gz
postgresql-9a586fe0c5a9228cc60428207a3fb64fb392b848.zip
Nab some low-hanging fruit: replace the planner's base_rel_list and
other_rel_list with a single array indexed by rangetable index. This reduces find_base_rel from O(N) to O(1) without any real penalty. While find_base_rel isn't one of the major bottlenecks in any profile I've seen so far, it was starting to creep up on the radar screen for complex queries --- so might as well fix it.
Diffstat (limited to 'src/backend/commands/tablespace.c')
0 files changed, 0 insertions, 0 deletions