diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-15 20:09:28 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-15 20:09:28 +0000 |
commit | fa92d21a486de868b21bbc03944649af3e1ac90f (patch) | |
tree | 599daee8e00be38b5dbddf2b27a5dbe72bd79ef5 /src/backend/executor/functions.c | |
parent | f97d4a267a8d8b680960dfc32bd7111eb7ed8dca (diff) | |
download | postgresql-fa92d21a486de868b21bbc03944649af3e1ac90f.tar.gz postgresql-fa92d21a486de868b21bbc03944649af3e1ac90f.zip |
Avoid running build_index_pathkeys() in situations where there cannot
possibly be any useful pathkeys --- to wit, queries with neither any
join clauses nor any ORDER BY request. It's nearly free to check for
this case and it saves a useful fraction of the planning time for simple
queries.
Diffstat (limited to 'src/backend/executor/functions.c')
0 files changed, 0 insertions, 0 deletions