aboutsummaryrefslogtreecommitdiff
path: root/src/backend
Commit message (Collapse)AuthorAge
* Fix from Yutaka Tanida <yutaka@marin.or.jp> for Cygwin32 support.Tatsuo Ishii1999-04-26
|
* Insert a test for missing targetlist entry in replace_agg_clause.Tom Lane1999-04-26
|
* 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 ...
* My first cut at libpq revision didn't handle MULTIBYTE correctly,Tom Lane1999-04-25
| | | | but I think it's OK now...
* 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
|
* 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 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
* 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.
* 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.
* 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.
* Fix code to check legal dates *before* calling localtime() to get theThomas G. Lockhart1999-04-15
| | | | | | | | 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.
* Fix boolean assignment of return values to use "FALSE" rather than theThomas G. Lockhart1999-04-15
| | | | | mis-copied "NULL", which happens to have the same binary value. Previously, gcc gave non-fatal warnings.
* Fix adding columns to a temp table.Bruce Momjian1999-04-13
|
* There are some bugs about backward scanning usingBruce Momjian1999-04-13
| | | | | | | | | | | | | | | indexes. 1. Index Scan using plural indexids never scan backward as to the order of indexids. 2. The cursor using Index scan is not usable after moving past the end. This patch solves above bugs. Moreover the change of _bt_first() would be useful to extend ORDER BY patch by Jan Wieck for all descending order cases. Hiroshi Inoue
* Fix HEAP_MOVED_IN handling in HeapTupleSatisfiesDirty().Vadim B. Mikheev1999-04-12
|
* Some comments...Vadim B. Mikheev1999-04-12
|
* Unique btree-s:Vadim B. Mikheev1999-04-12
| | | | | | | /* * Have to check is inserted heap tuple deleted one * (i.e. just moved to another place by vacuum)! */
* Repair problems seen when CREATE OPERATOR mentions aTom Lane1999-04-11
| | | | | | | | not-yet-defined operator in commutator, negator, etc links. This is necessary in order to ensure that a pg_dump dump of user-defined operators can be reloaded. There may still be a bug lurking here, because it's provoking a 'Buffer Leak' notice message in one case. See my mail to pgsql-hackers.
* Fix CREATE OPERATOR ... LANGUAGE 'internal', which I broke whileTom Lane1999-04-09
| | | | making prosrc instead of proname be the link to the actual internal function.
* Fix some more hashjoin-related bugs in pg_operator. FixTom Lane1999-04-07
| | | | | | | hashjoin's hashFunc() so that it does the right thing with pass-by-value data types (the old code would always return 0 for int2 or char values, which would work but would slow things down a lot). Extend opr_sanity regress test to catch more kinds of errors.
* Version string was truncating the last character.Thomas G. Lockhart1999-04-06
| | | | | Use memcpy() rather than StrNCpy() which had forced a string termination character at the end.
* Reduce default file size limit to 1Gb, and move theTom Lane1999-04-05
| | | | configuration constant to config.h.
* Fix HEAP_MOVED_OFF handling in HeapTupleSatisfiesDirtyVadim B. Mikheev1999-04-05
| | | | (may be used while vacuuming unique btree-s).
* Fix potential overflow problems when relation size exceedsTom Lane1999-04-05
| | | | | 2gig. Fix failure to reliably put the smaller relation on the inside of a hashjoin.
* Give a better error message if an SQL-language function isTom Lane1999-04-03
| | | | | | called through fmgr. Someday we should try to actually execute the function, but that looks like it might be a major feature addition. Not something to try during beta phase.
* Fix nasty bug in optimization of multiway joins: optimizerTom Lane1999-04-03
| | | | would sometimes generate a plan that omitted a sort step before merge.
* Repair problems with omitted password and VALID UNTILTom Lane1999-04-02
| | | | parameters in CREATE USER.
* Clean up compile errors and warnings, cf Billy Allie'sTom Lane1999-04-02
| | | | complaints (and some of my own).
* Small cleanups.Bruce Momjian1999-03-30
|
* Modify fmgr so that internal name (compiler name) of a built-inTom Lane1999-03-29
| | | | | | | | | | function is found in prosrc field of pg_proc, not proname. This allows multiple aliases of a built-in to all be implemented as direct builtins, without needing a level of indirection through an SQL function. Replace existing SQL alias functions with builtin entries accordingly. Save a few K by not storing string names of builtin functions in fmgr's internal table (if you really want 'em, get 'em from pg_proc...). Update opr_sanity with a few more cross-checks.
* 1. Vacuum is updated for MVCC.Vadim B. Mikheev1999-03-28
| | | | | | | 2. Much faster btree tuples deletion in the case when first on page index tuple is deleted (no movement to the left page(s)). 3. Remember blkno of new root page in BTPageOpaque of left/right siblings when root page is splitted.
* Fix bogus function signature for areajoinsel.Tom Lane1999-03-28
| | | | It still doesn't do anything, but at least now it does nothing correctly.
* Delete unused system table pg_parg.Tom Lane1999-03-27
|
* Fix multi-byte+locale problemTatsuo Ishii1999-03-25
|
* Clean up att_align calculations so that XXXALIGN macrosTom Lane1999-03-25
| | | | need not be bogus.
* Add KOI8/WIN/ALT supportTatsuo Ishii1999-03-24
|