postgresql/src/backend
Tom Lane f5e83662d0 Modify planner's implied-equality-deduction code so that when a set
of known-equal expressions includes any constant expressions (including
Params from outer queries), we actively suppress any 'var = var'
clauses that are or could be deduced from the set, generating only the
deducible 'var = const' clauses instead.  The idea here is to push down
the restrictions implied by the equality set to base relations whenever
possible.  Once we have applied the 'var = const' clauses, the 'var = var'
clauses are redundant, and should be suppressed both to save work at
execution and to avoid double-counting restrictivity.
2003-01-24 03:58:44 +00:00
..
access Read-only transactions, as defined in SQL. 2003-01-10 22:03:30 +00:00
bootstrap Revise executor APIs so that all per-query state structure is built in 2002-12-15 16:17:59 +00:00
catalog Grant options, and cascading revoke. Grant options are allowed only for 2003-01-23 23:39:07 +00:00
commands Fix obsolete error message (isImmutable doesn't exist). 2003-01-23 15:18:40 +00:00
executor Change CREATE TABLE AS / SELECT INTO to create the new table with OIDs, 2003-01-23 05:10:41 +00:00
lib Remove bit.c/h routines. Not used anymore. 2003-01-09 01:23:55 +00:00
libpq Readd #include netinet/in.h for FreeBSD. 2003-01-14 22:52:57 +00:00
main This patch removes a bunch of superfluous #include directives: if 2002-11-08 20:23:57 +00:00
nodes Modify planner's implied-equality-deduction code so that when a set 2003-01-24 03:58:44 +00:00
optimizer Modify planner's implied-equality-deduction code so that when a set 2003-01-24 03:58:44 +00:00
parser Grant options, and cascading revoke. Grant options are allowed only for 2003-01-23 23:39:07 +00:00
po Most of the code follows the American spelling of the word, which is 2002-11-19 17:21:40 +00:00
port This patch removes a bunch of superfluous #include directives: if 2002-11-08 20:23:57 +00:00
postmaster Repair an embarrassingly large number of alphabetization mistakes in the 2003-01-16 00:26:49 +00:00
regex This patch removes a bunch of superfluous #include directives: if 2002-11-08 20:23:57 +00:00
rewrite IN clauses appearing at top level of WHERE can now be handled as joins. 2003-01-20 18:55:07 +00:00
storage Add code to print information about a detected deadlock cycle. The 2003-01-16 21:01:45 +00:00
tcop Fix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTO 2003-01-21 22:06:12 +00:00
utils Modify planner's implied-equality-deduction code so that when a set 2003-01-24 03:58:44 +00:00
Makefile Fix missing tab in file. 2003-01-07 15:12:17 +00:00
nls.mk Translation updates 2002-09-14 13:46:24 +00:00