postgresql/src/include
Tom Lane 25e46a504b Fix a couple of oversights associated with the "physical tlist" optimization:
we had several code paths where a physical tlist could be used for the input
to a Sort node, which is a dumb idea because any unneeded table columns will
increase the volume of data the sort has to push around.

(Unfortunately the easy-looking fix of calling disuse_physical_tlist during
make_sort_xxx doesn't work because in most cases we're already committed to
the current input tlist --- it's been marked with sort column numbers, or
we've built grouping column numbers using it, etc.  The tlist has to be
selected properly at the calling level before we start constructing sort-col
information.  This is easy enough to do, we were just failing to take the
point into consideration.)

Back-patch to 8.3.  I believe the problem probably exists clear back to 7.4
when the physical tlist optimization was added, but I'm afraid to back-patch
further than 8.3 without a great deal more study than I want to put into it.
The code in this area has drifted a lot over time.  The real-world importance
of these code paths is uncertain anyway --- I think in many cases we'd
probably prefer hash-based methods.
2008-04-17 21:22:14 +00:00
..
access Repair two places where SIGTERM exit could leave shared memory state 2008-04-16 23:59:40 +00:00
bootstrap Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
catalog Re-enable pg_terminate_backend() using SIGTERM. SIGTERM testing still 2008-04-17 20:56:41 +00:00
commands Support statement-level ON TRUNCATE triggers. Simon Riggs 2008-03-28 00:21:56 +00:00
executor Since createplan.c no longer cares whether index operators are lossy, it has 2008-04-13 20:51:21 +00:00
lib Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
libpq Add server side lo_import(filename, oid) function. 2008-03-22 01:55:14 +00:00
mb Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
nodes Push index operator lossiness determination down to GIST/GIN opclass 2008-04-14 17:05:34 +00:00
optimizer Fix a couple of oversights associated with the "physical tlist" optimization: 2008-04-17 21:22:14 +00:00
parser Convert backslash_quote guc to use enum. 2008-04-04 11:47:19 +00:00
port Replace time_t with pg_time_t (same values, but always int64) in on-disk 2008-02-17 02:09:32 +00:00
postmaster Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
regex Convert three more guc settings to enum type: 2008-04-02 14:42:56 +00:00
rewrite Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
snowball Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
storage Repair two places where SIGTERM exit could leave shared memory state 2008-04-16 23:59:40 +00:00
tcop Implement enum type for guc parameters, and convert a couple of existing 2008-03-10 12:55:13 +00:00
tsearch Simplify and standardize conversions between TEXT datums and ordinary C 2008-03-25 22:42:46 +00:00
utils Re-enable pg_terminate_backend() using SIGTERM. SIGTERM testing still 2008-04-17 20:56:41 +00:00
c.h Enable probes to work with Mac OS X Leopard and other OSes that will 2008-03-17 19:44:41 +00:00
fmgr.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
funcapi.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
getaddrinfo.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
getopt_long.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
Makefile Enable probes to work with Mac OS X Leopard and other OSes that will 2008-03-17 19:44:41 +00:00
miscadmin.h Rename miscadmin.h's PG_VERSIONSTR macro to PG_BACKEND_VERSIONSTR to 2008-02-20 22:46:24 +00:00
pg_config.h.in Provide a build-time option to store large relations as single files, rather 2008-03-10 20:06:27 +00:00
pg_config.h.win32 Stamp HEAD as 8.4devel. 2008-02-13 03:40:38 +00:00
pg_config_manual.h Add some debug support code to try to catch future mistakes in the area of 2008-04-11 22:54:23 +00:00
pg_trace.h Enable probes to work with Mac OS X Leopard and other OSes that will 2008-03-17 19:44:41 +00:00
pgstat.h Teach ANALYZE to distinguish dead and in-doubt tuples, which it formerly 2008-04-03 16:27:25 +00:00
pgtime.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
port.h Avoid using unnecessary pgwin32_safestat in libpq. 2008-04-16 14:19:56 +00:00
postgres.h Reduce the need for frontend programs to include "postgres.h" by refactoring 2008-03-27 03:57:34 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
rusagestub.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00