- 19 3月, 2000 7 次提交
-
-
由 Tom Lane 提交于
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 提交于
actually returns the type it is named for.
-
由 Peter Eisentraut 提交于
-
由 Bruce Momjian 提交于
-
由 Tom Lane 提交于
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 提交于
-
由 Tom Lane 提交于
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.
-
- 18 3月, 2000 5 次提交
-
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
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 提交于
-
由 Tom Lane 提交于
which is not ANSI C, even though some compilers will take it...
-
由 Tom Lane 提交于
-
- 17 3月, 2000 4 次提交
-
-
由 Tom Lane 提交于
a config.h #define, and the runtime value can be controlled via SET.
-
由 Tom Lane 提交于
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...
-
由 Tom Lane 提交于
the GNU Autoconf CVS server.
-
由 Tom Lane 提交于
results in conversions tests. Update horology-no-DST-before-1970.out.
-
- 16 3月, 2000 17 次提交
-
-
由 Bruce Momjian 提交于
attached patch. Andreas Kardos
-
由 Bruce Momjian 提交于
/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 提交于
-
由 Thomas G. Lockhart 提交于
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 提交于
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 提交于
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 提交于
-
由 Tatsuo Ishii 提交于
-
由 Tom Lane 提交于
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 提交于
-
由 Tom Lane 提交于
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 提交于
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
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
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 提交于
-
由 Tom Lane 提交于
wrong pointer.
-
由 Bruce Momjian 提交于
-
- 15 3月, 2000 7 次提交
-
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
CREATE DB/DROP DB. If you didn't think they were wrong, try what happens when you compile with -DCLOBBER_FREED_MEMORY --- database name displayed in error messages is trashed, because transaction abort freed it. Also, remove trailing periods in error messages, per our prevailing style.
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
the pain of updating apps to 7.0. Should we also translate some of the 'datetime_foo' functions that exist in 6.* ?
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
so that the fmgr lookup only has to happen once per index scan and not once per tuple. Seems to save 5% or so of CPU time for an indexscan.
-
由 Thomas G. Lockhart 提交于
Implement TIME WITH TIME ZONE type (timetz internal type). Remap length() for character strings to CHAR_LENGTH() for SQL92 and to remove the ambiguity with geometric length() functions. Keep length() for character strings for backward compatibility. Shrink stored views by removing internal column name list from visible rte. Implement min(), max() for time and timetz data types. Implement conversion of TIME to INTERVAL. Implement abs(), mod(), fac() for the int8 data type. Rename some math functions to generic names: round(), sqrt(), cbrt(), pow(), etc. Rename NUMERIC power() function to pow(). Fix int2 factorial to calculate result in int4. Enhance the Oracle compatibility function translate() to work with string arguments (from Edwin Ramirez). Modify pg_proc system table to remove OID holes.
-