summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-04-27Fixed DECIMAL data type to handle specified precision in atttypmodJan Wieck
Jan
1999-04-27Fix for _copyUnique() suggested by Hiroshi InoueTatsuo Ishii
1999-04-26These are no longer used ...Marc G. Fournier
1999-04-26provides string to be used for expected/* files for system specific output...Marc G. Fournier
1999-04-26*** empty log message ***Michael Meskes
1999-04-26Fix from Yutaka Tanida <yutaka@marin.or.jp> for Cygwin32 support.Tatsuo Ishii
1999-04-26Fix from Yutaka Tanida <yutaka@marin.or.jp>Tatsuo Ishii
1999-04-26Insert a test for missing targetlist entry in replace_agg_clause.Tom Lane
1999-04-25It looks like the multibyte regress tests only work if bothTom Lane
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.
1999-04-25More multibyte tests with obsolete spelling of error message...Tom Lane
1999-04-25psql's recognition of comments didn't work right in MULTIBYTETom Lane
environments; it was being careless about character lengths.
1999-04-25Explicitly set PGCLIENTENCODING during regression tests,Tom Lane
since multibyte tests fail if it's different from database...
1999-04-25Still had a few MULTIBYTE problems when client encoding wasTom Lane
different from database's ...
1999-04-25Correct potential infinite loop in pg_utf2wchar_with_len;Tom Lane
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 ...
1999-04-25Multibyte tests were all 'failing' because of change ofTom Lane
wording of 'relation does not exist' error message. Update expected files accordingly.
1999-04-25My first cut at libpq revision didn't handle MULTIBYTE correctly,Tom Lane
but I think it's OK now...
1999-04-25Clean up gcc warning in MULTIBYTE code.Tom Lane
1999-04-25ifdef out some unused routines to suppress gcc warnings.Tom Lane
1999-04-25Ooops, missed committing this one...Tom Lane
1999-04-25Revise backend libpq interfaces so that messages to the frontendTom Lane
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.
1999-04-23Rename explain's "size" to "rows".Bruce Momjian
1999-04-23Add disk space message to "can not extend" message.Bruce Momjian
1999-04-23Remove "Non-functional update" notices since that message has beenThomas G. Lockhart
disabled (commented-out) in the code.
1999-04-23Repair missing heap_endscan() in OperatorUpd().Tom Lane
1999-04-22Fix duplicating ROOT page in concurrent updates.Vadim B. Mikheev
1999-04-20Un-break CREATE TYPE. Fix some other inconsistencies in theTom Lane
pg_proc entries for array I/O routines besides the one detected by the original patcher. Tighten type_sanity regress test accordingly.
1999-04-20Change elog(ERROR) to get back to main loop via a plain sigsetjmp,Tom Lane
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.
1999-04-20Portability patches for HPUX 11 and Unixware in configureTom Lane
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 ...
1999-04-19Add temporary for temp.Bruce Momjian
1999-04-19Fix typo in multi-byte encodings (EHC_CN --> EUC_CN)Tatsuo Ishii
1999-04-19Fix problems seen when result of a subselect was used in anTom Lane
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;
1999-04-19Repair some problems in planner's handling of HAVING clauses.Tom Lane
This fixes a few of the problems Hiroshi Inoue complained of, but I have not touched the rewrite-related issues.
1999-04-18After transforming a CASE expr with a default argument,Tom Lane
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
1999-04-18Update CREATE FUNCTION's on-line help in psql.Tom Lane
1999-04-18Allow CREATE FUNCTION xyz AS '' LANGUAGE 'internal' toTom Lane
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.
1999-04-17Add res checking to libpq examples, from Dan Merillat.Bruce Momjian
1999-04-16Add missing function prototypes to stifle gcc warnings.Tom Lane
1999-04-16*** empty log message ***Michael Meskes
1999-04-16Fix kill() call in elog() so that it gets its own pid by calling getpid().Tatsuo Ishii
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.
1999-04-16Overhaul Wisconsin Benchmark test suitTatsuo Ishii
- 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)
1999-04-16Improve error messages when a connection is rejected.Tom Lane
1999-04-15Fix max(int8) result by making sure int8larger() copies its resultThomas G. Lockhart
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.
1999-04-15Initialize reltuples = 1000, relpages = 10 in a newly createdTom Lane
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.
1999-04-15Add ORDER BY clauses to some select-from-view operationsTom Lane
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.
1999-04-15psql did the wrong thing with COPY FROM STDIN inside a fileTom Lane
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.
1999-04-15Move some useful date/time test macros to here to allowThomas G. Lockhart
sharing across files.
1999-04-15Declare hashint8().Thomas G. Lockhart
1999-04-15Fix code to check legal dates *before* calling localtime() to get theThomas G. Lockhart
time zone. Previously, localtime() rotated a date with a day of month field which exceeded the actual range into the next months, masking the fact that a bad date had been specified. Regression tests pass.
1999-04-15Fix boolean assignment of return values to use "FALSE" rather than theThomas G. Lockhart
mis-copied "NULL", which happens to have the same binary value. Previously, gcc gave non-fatal warnings.
1999-04-15Code modified to reject out of range day of month.Thomas G. Lockhart
Previously, dates falling within Unix system time range were run through a call to localtime() to get the time zone, if it was not specified. This had the effect that dates with DOMs which were larger than would be valid for that month were "rotated" into the following months.