aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Update test for new ORDER BY clause from Tom Lane.Thomas G. Lockhart2000-03-21
|
* Restructure planning code so that preprocessing of targetlist and qualsTom Lane2000-03-21
| | | | | | | | | | | | | 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.
* Correct typo in error message.Tom Lane2000-03-21
|
* Reverse out BYTEA type coersion.Bruce Momjian2000-03-20
|
* Turn XLOG off (do not create log file).Vadim B. Mikheev2000-03-20
|
* Emit 'this operator is deprecated' warnings for ':' and ';'.Tom Lane2000-03-20
|
* Convert float8 regress test to use exp() and ln() instead of ':' andTom Lane2000-03-20
| | | | ';' operators.
* Update for BYTEAOID.Bruce Momjian2000-03-20
|
* Add compatiblity information for bytea.Bruce Momjian2000-03-20
|
* Add FORCE keyword to ColIDHiroshi Inoue2000-03-20
|
* Make use of pre-existing regexp match capability to eliminate redundantTom Lane2000-03-19
| | | | | entries in template selection rules. Also, change alpha-dec-osf pattern to cope with version info attached to the 'alpha' part.
* Autoconf runTom Lane2000-03-19
|
* Change configure.in to note that since we are using expr(1)'s regex matchTom Lane2000-03-19
| | | | | | 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.
* cash_words_out function truncated its output by 1 character due toTom Lane2000-03-19
| | | | incorrect use of StrNCpy.
* Several calls to StrNCpy incorrectly subtracted 1 from the length arg,Tom Lane2000-03-19
| | | | leading to postmaster accepting args 1 shorter than it had room for.
* Change MemSet and StrNCpy to evaluate their arguments only once.Tom Lane2000-03-19
| | | | Fix inadequate parenthesization in several other macros.
* Proper unpack de_DE.ISO-8859-1Bruce Momjian2000-03-19
|
* Minor code rearrangement & doc improvement in eval_const_expressions().Tom Lane2000-03-19
|
* *** empty log message ***Michael Meskes2000-03-19
|
* transformExpr() did the Wrong Thing if applied to a SubLink node thatTom Lane2000-03-19
| | | | | | | | | 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.
* it seems in the beta2 release DBUSERID in pg_dumpall is the _name_ of theBruce Momjian2000-03-19
| | | | | | | | | | | | | 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
* Fix incorrect implementation of log(x) for numeric, as well asTom Lane2000-03-19
| | | | | | 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...
* Another go-round with resolution of ambiguous functions and operators.Tom Lane2000-03-19
| | | | | | | | | | 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.
* In can_coerce_type, verify that a possible type-coercion functionTom Lane2000-03-19
| | | | actually returns the type it is named for.
* Fixed psql -c "\slashcmd"Peter Eisentraut2000-03-18
|
* Update bytea type descriptionBruce Momjian2000-03-18
|
* Improve error message wording in unary_op_error() --- suggest thatTom Lane2000-03-18
| | | | | | 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).
* Clean up minor compiler warnings.Tom Lane2000-03-18
|
* Modify lexing of multi-char operators per pghackers discussion aroundTom Lane2000-03-18
| | | | | | | | | | 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.
* Repair typos: <xb> EOF rule should be <xh>, likewise <xq> to <xd>Tom Lane2000-03-18
|
* Just noticed that the grammar actually has no provision for '+' as aTom Lane2000-03-18
| | | | | prefix operator :-(. Bad enough that we have no implementation of unary plus, but at least with this fix the grammar will take it.
* Add translation of timespan to interval.Bruce Momjian2000-03-18
|
* Patch possible portability problem: a few places had // style comments,Tom Lane2000-03-17
| | | | which is not ANSI C, even though some compilers will take it...
* Typo correction (// -> /)Tom Lane2000-03-17
|
* Add safety check on expression nesting depth. Default value is set byTom Lane2000-03-17
| | | | a config.h #define, and the runtime value can be controlled via SET.
* Fix a bunch of minor portability problems and maybe-bugs revealed byTom Lane2000-03-17
| | | | | | 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...
* Update config.guess and config.sub to latest versions available fromTom Lane2000-03-16
| | | | the GNU Autoconf CVS server.
* Tweak horology regress test to ensure platform-independent ordering ofTom Lane2000-03-16
| | | | results in conversions tests. Update horology-no-DST-before-1970.out.
* Since it has been confirmed working on the bugs list, please apply theBruce Momjian2000-03-16
| | | | | | attached patch. Andreas Kardos
* libpq++ Makefile uses -DDEBUG to turn on debugging trace toBruce Momjian2000-03-16
| | | | | | | | | | | | /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
* Support full POSIX-style time zone: EST+3, PST-3, etc.Thomas G. Lockhart2000-03-16
| | | | | | 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.
* Support full POSIX-style time zone: EST+3, PST-3, etc.Thomas G. Lockhart2000-03-16
| | | | | | | | 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).
* Support full POSIX-style time zone: EST+3, PST-3, etc.Thomas G. Lockhart2000-03-16
| | | | | | | 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.
* Fixes for char_length() change.Tatsuo Ishii2000-03-16
|
* Fixes for char_length() changes.Tatsuo Ishii2000-03-16
|
* Turns out that Mazurkiewicz's gripe about 'function inheritance' isTom Lane2000-03-16
| | | | | | 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.
* Fix for char_length() changesTatsuo Ishii2000-03-16
|
* Fix some (more) problems with subselects in rules. Rewriter failed toTom Lane2000-03-16
| | | | | | | 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.
* Hi,Bruce Momjian2000-03-16
| | | | | | | | | | 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
* Update comment obsoleted by Thomas's latest fixes.Tom Lane2000-03-15
|