- 22 Mar, 2000 3 commits
-
-
Tom Lane authored
costs using the inner path's parent->rows count as the number of tuples processed per inner scan iteration. This is wrong when we are using an inner indexscan with indexquals based on join clauses, because the rows count in a Relation node reflects the selectivity of the restriction clauses for that rel only. Upshot was that if join clause was very selective, we'd drastically overestimate the true cost of the join. Fix is to calculate correct output-rows estimate for an inner indexscan when the IndexPath node is created and save it in the path node. Change of path node doesn't require initdb, since path nodes don't appear in saved rules.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 21 Mar, 2000 7 commits
-
-
Tom Lane authored
Update those to latest Autoconf sources, too.
-
Thomas G. Lockhart authored
Reported by "Tibor Laszlo" <ltibor@mail.tiszanet.hu> and fix suggested by "Hiroshi Inoue" <Inoue@tpf.co.jp>.
-
Thomas G. Lockhart authored
is available yet. Remove redundant call to xlateSqlType() in the character type handling code.
-
Thomas G. Lockhart authored
-
Tom Lane authored
to simplify constant expressions and expand SubLink nodes into SubPlans is done in a separate routine subquery_planner() that calls union_planner(). We formerly did most of this work in query_planner(), but that's the wrong place because it may never see the real targetlist. Splitting union_planner into two routines also allows us to avoid redundant work when union_planner is invoked recursively for UNION and inheritance cases. Upshot is that it is now possible to do something like select float8(count(*)) / (select count(*) from int4_tbl) from int4_tbl group by f1; which has never worked before.
-
Tom Lane authored
-
Bruce Momjian authored
page for 7.0: Oliver Elphick
-
- 20 Mar, 2000 10 commits
-
-
Bruce Momjian authored
-
Vadim B. Mikheev authored
-
Tom Lane authored
-
Tom Lane authored
';' operators.
-
Bruce Momjian authored
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
-
Bruce Momjian authored
-
Hiroshi Inoue authored
-
- 19 Mar, 2000 15 commits
-
-
Tom Lane authored
entries in template selection rules. Also, change alpha-dec-osf pattern to cope with version info attached to the 'alpha' part.
-
Tom Lane authored
-
Tom Lane authored
command, the entries in template/.similar can really be regular expressions. This isn't a new feature, just an observation of what the code already did.
-
Tom Lane authored
incorrect use of StrNCpy.
-
Tom Lane authored
leading to postmaster accepting args 1 shorter than it had room for.
-
Tom Lane authored
Fix inadequate parenthesization in several other macros.
-
Tom Lane authored
Makefiles now), there's no reason for os2client to maintain its own copy of c.h just to change #define PORTNAME. Simplify Makefile accordingly. Get rid of horribly-out-of-date modified copy of c.h, which should never have been in the distribution to start with, since it's actually a derived file. Now it's not needed anyway.
-
Bruce Momjian authored
-
Tom Lane authored
-
Michael Meskes authored
-
Tom Lane authored
had already been transformed. This led to failure in examples like UPDATE table SET fld = (SELECT ...). Repair this, and revise the comments to explain that transformExpr has to be robust against this condition. Someday we might want to fix the callers so that transformExpr is never invoked on its own output, but that someday is not today.
-
Bruce Momjian authored
user, so it doesn't need to be translated from the number to the name. also ``create database ...'' does not take numbers for the encoding, so the ENCODING variable does not need to be translated to a number, but left as the text representation. a patch is supplied to make the changes i have found to work. i was successful dumping and reloading my database after these changes. - John M. Flinchbaugh
-
Tom Lane authored
incorrect descriptions of a couple of log-related functions. I will not force an initdb for this, but log() on a numeric won't work until you do one...
-
Tom Lane authored
In function parsing, try for an actual function of the given name and input types before trying to interpret the function call as a type coercion request, rather than after. Before, a function that had the same name as a type and operated on a binary-compatible type wouldn't get invoked. Also, cross-pollinate between func_select_candidates and oper_select_candidates to ensure that they use as nearly the same resolution rules as possible. A few other minor code cleanups too.
-
Tom Lane authored
actually returns the type it is named for.
-
- 18 Mar, 2000 5 commits
-
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Tom Lane authored
problem could be lack of parentheses. This addresses cases like X UserOp UserOp Y, which will be parsed as (X UserOp) UserOp Y, whereas what likely was wanted was X UserOp (UserOp Y).
-
Tom Lane authored
-
Tom Lane authored
16-Mar-00: trailing + or - is not part of the operator unless the operator also contains characters not present in SQL92-defined operators. This solves the 'X=-Y' problem without unduly constraining users' choice of operator names --- in particular, no existing Postgres operator names become invalid. Also, remove processing of // comments, as agreed in the same thread.
-