aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Defend against 'update oid'. Someday we might want to supportTom Lane1999-04-29
| | | | | that, but it'd be a New Feature, wouldn't it ... in the meantime, avoiding a backend crash seems worthwhile.
* Aggregate functions didn't work on subscripted array references.Tom Lane1999-04-29
| | | | Things are better now.
* Several routines in setrefs.c would crash on array refsTom Lane1999-04-29
| | | | due to lack of check for recursing into a null subexpression.
* Fix stupid typo that broke empty-query response... odd thatTom Lane1999-04-28
| | | | this is not revealed by any of our regression tests...
* Fixed DECIMAL data type to handle specified precision in atttypmodJan Wieck1999-04-27
| | | | Jan
* Fix for _copyUnique() suggested by Hiroshi InoueTatsuo Ishii1999-04-27
|
* These are no longer used ...Marc G. Fournier1999-04-26
|
* provides string to be used for expected/* files for system specific output...Marc G. Fournier1999-04-26
|
* *** empty log message ***Michael Meskes1999-04-26
|
* Fix from Yutaka Tanida <yutaka@marin.or.jp> for Cygwin32 support.Tatsuo Ishii1999-04-26
|
* Fix from Yutaka Tanida <yutaka@marin.or.jp>Tatsuo Ishii1999-04-26
|
* Insert a test for missing targetlist entry in replace_agg_clause.Tom Lane1999-04-26
|
* It looks like the multibyte regress tests only work if bothTom Lane1999-04-25
| | | | | | | the database encoding and the client encoding match the encoding expected by the test. So, force both of them to be set from the MULTIBYTE environment var. This allows regress tests to be run successfully in multibyte environments other than the compiled-in default.
* More multibyte tests with obsolete spelling of error message...Tom Lane1999-04-25
|
* psql's recognition of comments didn't work right in MULTIBYTETom Lane1999-04-25
| | | | environments; it was being careless about character lengths.
* Explicitly set PGCLIENTENCODING during regression tests,Tom Lane1999-04-25
| | | | since multibyte tests fail if it's different from database...
* Still had a few MULTIBYTE problems when client encoding wasTom Lane1999-04-25
| | | | different from database's ...
* Correct potential infinite loop in pg_utf2wchar_with_len;Tom Lane1999-04-25
| | | | | | it failed to cover the case where high bits of char are 100 or 101. Not sure if fix is right, but it agrees with pg_utf_mblen ... and it doesn't lock up ...
* Multibyte tests were all 'failing' because of change ofTom Lane1999-04-25
| | | | | wording of 'relation does not exist' error message. Update expected files accordingly.
* My first cut at libpq revision didn't handle MULTIBYTE correctly,Tom Lane1999-04-25
| | | | but I think it's OK now...
* Clean up gcc warning in MULTIBYTE code.Tom Lane1999-04-25
|
* ifdef out some unused routines to suppress gcc warnings.Tom Lane1999-04-25
|
* Ooops, missed committing this one...Tom Lane1999-04-25
|
* Revise backend libpq interfaces so that messages to the frontendTom Lane1999-04-25
| | | | | | can be generated in a buffer and then sent to the frontend in a single libpq call. This solves problems with NOTICE and ERROR messages generated in the middle of a data message or COPY OUT operation.
* Rename explain's "size" to "rows".Bruce Momjian1999-04-23
|
* Add disk space message to "can not extend" message.Bruce Momjian1999-04-23
|
* Remove "Non-functional update" notices since that message has beenThomas G. Lockhart1999-04-23
| | | | disabled (commented-out) in the code.
* Repair missing heap_endscan() in OperatorUpd().Tom Lane1999-04-23
|
* Fix duplicating ROOT page in concurrent updates.Vadim B. Mikheev1999-04-22
|
* Un-break CREATE TYPE. Fix some other inconsistencies in theTom Lane1999-04-20
| | | | | pg_proc entries for array I/O routines besides the one detected by the original patcher. Tighten type_sanity regress test accordingly.
* Change elog(ERROR) to get back to main loop via a plain sigsetjmp,Tom Lane1999-04-20
| | | | | | instead of doing a kill(self, SIGQUIT) and expecting the signal handler to do it. Also, clean up inconsistent definitions of the sigjmp buffer in the several files that already referenced it.
* Portability patches for HPUX 11 and Unixware in configureTom Lane1999-04-20
| | | | | | and related files. Also remove float.c's gratuitous redeclaration of isinf() ... looks like there are more decls in there that ought to be in config.h, but I'll leave well enough alone for now ...
* Add temporary for temp.Bruce Momjian1999-04-19
|
* Fix typo in multi-byte encodings (EHC_CN --> EUC_CN)Tatsuo Ishii1999-04-19
|
* Fix problems seen when result of a subselect was used in anTom Lane1999-04-19
| | | | | | | expression context (ie, not at the top level of a WHERE clause). Examples like this one work now: SELECT name, value FROM t1 as touter WHERE (value/(SELECT AVG(value) FROM t1 WHERE name = touter.name)) > 0.75;
* Repair some problems in planner's handling of HAVING clauses.Tom Lane1999-04-19
| | | | | This fixes a few of the problems Hiroshi Inoue complained of, but I have not touched the rewrite-related issues.
* After transforming a CASE expr with a default argument,Tom Lane1999-04-18
| | | | | | | | delete the default argument from the node. This prevents the executor from spitting up on the untransformed argument expression. Typical failure was: select (case f1 when 'val' then 'subst' else f1 end) from t1; ERROR: copyObject: don't know how to copy 704
* Update CREATE FUNCTION's on-line help in psql.Tom Lane1999-04-18
|
* Allow CREATE FUNCTION xyz AS '' LANGUAGE 'internal' toTom Lane1999-04-18
| | | | | | work the way it used to (ie, assume xyz is the name of the builtin function to call). Complain if an unknown builtin function name is referenced.
* Add res checking to libpq examples, from Dan Merillat.Bruce Momjian1999-04-17
|
* Add missing function prototypes to stifle gcc warnings.Tom Lane1999-04-16
|
* *** empty log message ***Michael Meskes1999-04-16
|
* Fix kill() call in elog() so that it gets its own pid by calling getpid().Tatsuo Ishii1999-04-16
| | | | | | | MyProcPid global variable is set to 0 when postgres starts as a command (not as a backend daemon). This leads issuing SIGQUIT to the process group, not the process itself. As a result, parent sh gets core dumped in the Wisconsin benchmark test.
* Overhaul Wisconsin Benchmark test suitTatsuo Ishii1999-04-16
| | | | | | | - change temp -> temp_bench ("temp" is now a reserved word) - fix bugs in queries - add -B 256 option to run the postgres command (without this, postgres seems to fail with hashjoin)
* Improve error messages when a connection is rejected.Tom Lane1999-04-16
|
* Fix max(int8) result by making sure int8larger() copies its resultThomas G. Lockhart1999-04-15
| | | | | | | rather than reusing the input storage. Also made the same fix to int8smaller(), though there wasn't a symptom, and went through and verified that other pass-by-reference data types do the same thing. Not an issue for the by-value types.
* Initialize reltuples = 1000, relpages = 10 in a newly createdTom Lane1999-04-15
| | | | | | | | | | relation, rather than zeroes. This prevents the optimizer from making foolish choices (ie, using nested-loop plans) on never-yet-vacuumed tables. This is a hack, of course. Keeping accurate track of these statistics would be a cleaner solution, but it's far from clear that it'd be worth the cost of doing so. In any case we're not going to do that for 6.5. In the meantime, this quick hack provides a useful performance improvement in the regression tests and in many real-world scenarios.
* Add ORDER BY clauses to some select-from-view operationsTom Lane1999-04-15
| | | | | | | | in rules regression test, in order to eliminate bogus test 'failures' that occur due to platform-dependent and join-implementation-dependent ordering of tuples. I'm not sure that I got all of the SELECTs that need ordering clauses --- we may need some more. But this takes care of the diffs between my platform and Jan's.
* psql did the wrong thing with COPY FROM STDIN inside a fileTom Lane1999-04-15
| | | | | | | sourced with \i (tried to read data from the terminal, rather than from the source file; this breaks pg_dump scripts read with \i). Also, \o file followed by COPY TO STDOUT wrote to terminal not designated file. All better now.
* Move some useful date/time test macros to here to allowThomas G. Lockhart1999-04-15
| | | | sharing across files.