- 19 Mar, 2000 8 commits
-
-
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 8 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.
-
Tom Lane authored
-
Tom Lane authored
prefix operator :-(. Bad enough that we have no implementation of unary plus, but at least with this fix the grammar will take it.
-
Bruce Momjian authored
-
- 17 Mar, 2000 4 commits
-
-
Tom Lane authored
which is not ANSI C, even though some compilers will take it...
-
Tom Lane authored
-
Tom Lane authored
a config.h #define, and the runtime value can be controlled via SET.
-
Tom Lane authored
running gcc and HP's cc with warnings cranked way up. Signed vs unsigned comparisons, routines declared static and then defined not-static, that kind of thing. Tedious, but perhaps useful...
-
- 16 Mar, 2000 14 commits
-
-
Tom Lane authored
the GNU Autoconf CVS server.
-
Tom Lane authored
results in conversions tests. Update horology-no-DST-before-1970.out.
-
Bruce Momjian authored
attached patch. Andreas Kardos
-
Bruce Momjian authored
/tmp/trace.out. However, elog.h uses DEBUG as a log-level flag. As a result, tracing is turned on even if the libpq++.so is built with DEBUG commented out in the Makefile. This patch changes libpq++ to use DEBUGFILE instead (which is not defined anywhere else). Oliver Elphick
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
We probably support a superset of the spec, but I don't have the spec to confirm this. Update regression tests to include tests for this format.
-
Thomas G. Lockhart authored
We probably support a superset of the spec, but I don't have the spec to confirm this. Update regression tests to include tests for this format. Update geometry.out with results from Linux RH 5.2 system (for last decimal place).
-
Thomas G. Lockhart authored
We probably support a superset of the spec, but I don't have the spec to confirm this. Update regression tests to include tests for this format. Fix single-space typo in printed message in regress.sh.
-
Tatsuo Ishii authored
-
Tatsuo Ishii authored
-
Tom Lane authored
actually a type-coercion problem. If you have a function defined on class A, and class B inherits from A, then the function ought to work on class B as well --- but coerce_type didn't know that. Now it does.
-
Tatsuo Ishii authored
-
Tom Lane authored
mark query as having subselects if a subselect was added from a rule WHERE condition (as opposed to a rule action). Also, fix adjustment of varlevelsup so that it actually has some prospect of working when inserting an expression containing a subselect into a subquery.
-
Bruce Momjian authored
small changes in formatting.c code (better memory usage ...etc.) and better to_char's cache (will fastly for more to_char()s in one query). (It is probably end of to_char() development in 7.0 cycle.) Karel
-
- 15 Mar, 2000 6 commits
-
-
Tom Lane authored
-
Tom Lane authored
after trying to resolve the item as an input-column name. This allows us to be compliant with the SQL92 spec for queries that fall within the spec, while still accepting the same out-of-spec queries as 6.5 did. You'll only lose if there is an output column name that is the same as an input column name, but doesn't refer to the same value. 7.0 will interpret such a GROUP BY spec differently than 6.5 did. No way around that, because 6.5 was clearly not spec compliant.
-
Michael Meskes authored
-
Tom Lane authored
wrong pointer.
-
Bruce Momjian authored
-
Tom Lane authored
-