aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils
Commit message (Collapse)AuthorAge
...
* trace.patch (compilation error)Marc G. Fournier1999-06-05
| | | | | | | | the gettimeofday doesn't compile under Linux with glibc2 because the DST_NONE constant is no more defined. It seems that this code (written by me) has always be wrong but for some reason working. From: Massimo Dal Zotto <dz@cs.unitn.it>
* Fix for failure to clean SysCache entry when a relation is deletedTom Lane1999-06-04
| | | | in the same transaction that created it.
* Changed "current." into "old." in rule string backparsingJan Wieck1999-06-02
| | | | Jan
* The INET and CIDR types mistakenly compared 198.68.123.0/24 andBruce Momjian1999-06-02
| | | | | | 198.68.123.0/27 the same when indexing them. D'Arcy
* Fix some latent bugs in dllist.c (carelessness about settingTom Lane1999-05-31
| | | | | all fields that should be set). Add a MoveToFront primitive to speed up one of the hotspots in SearchSysCache.
* Generate a more specific error message when an operator usedTom Lane1999-05-31
| | | | in an index doesn't have a restriction selectivity estimator.
* Correct serious bug in hashtable expansion routine: under theTom Lane1999-05-31
| | | | | right circumstances it would leave old and new bucket headers pointing to the same list of records.
* Clean up inefficient and just plain bad code in some hot-spotTom Lane1999-05-29
| | | | cache access routines.
* Add fix for 0x7fU constants to pgindentBruce Momjian1999-05-26
|
* Make functions static or NOT_USED as appropriate.Bruce Momjian1999-05-26
|
* Another pgindent run. Sorry folks.Bruce Momjian1999-05-25
|
* Make 0x007f -> (unsigned)0x7f to make pgindent happy.Bruce Momjian1999-05-25
|
* pgindent run over code.Bruce Momjian1999-05-25
|
* Fixed bug in rules event qualification output.Jan Wieck1999-05-25
| | | | Jan
* FIx for 0.0.0.0/0 output as 00/0.Bruce Momjian1999-05-25
|
* Modify aset.c logic so that blocks requested from malloc getTom Lane1999-05-22
| | | | | bigger the more space is used in an allocset. This reduces the malloc overhead very substantially on queries that need lots of memory.
* Improve error message from failed LOAD command (includeTom Lane1999-05-22
| | | | kernel's error description when file is not accessible).
* Modify backend switch parsing to prevent 'insecure' switchesTom Lane1999-05-22
| | | | | from being accepted when they are passed from client connection request. Get rid of a couple that no longer do anything (like -P).
* Remove 4096 string limited key on block sizeBruce Momjian1999-05-19
|
* set client_encoding to <nothing> crashes backend.Tatsuo Ishii1999-05-13
|
* Fixed small bug in ruleutils and added output of pg_views andJan Wieck1999-05-12
| | | | | | pg_rules to rules regression test. Jan
* Replaced targetlist entry in GroupClause by reference numberJan Wieck1999-05-12
| | | | | | | in Resdom and GroupClause so changing of resno's doesn't confuse the grouping any more. Jan
* I am sorry, I misinterpreted the still failing trigger regression test.Bruce Momjian1999-05-12
| | | | | | | | | | | | | | | | | The offending code has been removed, the action is now always dependent :-) I suggest the following patch, to finally make trigger regression happy again: <<refint1.patch>> After that you can remove the following from TODO: Remove ERROR: check_primary_key: even number of arguments should be specified Trigger regression test fails Andreas
* Changed debug options:Jan Wieck1999-05-11
| | | | | | | | | -d4 now prints compressed trees from nodeToString() -d5 prints pretty trees via nodeDisplay() new pg_options: pretty_plan, pretty_parse, pretty_rewritten Jan
* Check for NUMERIC overflow a second time after roundingJan Wieck1999-05-10
| | | | Jan
* Fix initdb problem introduced by recent patch.Bruce Momjian1999-05-10
|
* Change error messages to oids come out as %u and not %d. Change has noBruce Momjian1999-05-10
| | | | real affect now.
* Fix some miscellaneous places that were using raw open() orTom Lane1999-05-09
| | | | fopen(), instead of going through fd.c ... naughty naughty.
* Update hash and join routines to use fd.c's new temp-fileTom Lane1999-05-09
| | | | code, instead of not-very-bulletproof stuff they had before.
* I have two patches for 6.5.0:Bruce Momjian1999-05-05
| | | | | | | | | | arrayfuncs.patch fixes a small bug in my previous patches for arrays array-regress.patch adds _bpchar and _varchar to regression tests -- Massimo Dal Zotto
* Use sprintf() to convert float8 to a string during conversion to numeric.Thomas G. Lockhart1999-05-04
| | | | | Original code used float8out(), but the resulting exponential notation was not handled (e.g. '3E9' was decoded as '3').
* Correct declaration of array_map() so that it doesn't makeTom Lane1999-05-03
| | | | gcc quite so unhappy.
* here are some patches for 6.5.0 which I already submitted but have neverBruce Momjian1999-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | been applied. The patches are in the .tar.gz attachment at the end: varchar-array.patch this patch adds support for arrays of bpchar() and varchar(), which where always missing from postgres. These datatypes can be used to replace the _char4, _char8, etc., which were dropped some time ago. block-size.patch this patch fixes many errors in the parser and other program which happen with very large query statements (> 8K) when using a page size larger than 8192. This patch is needed if you want to submit queries larger than 8K. Postgres supports tuples up to 32K but you can't insert them because you can't submit queries larger than 8K. My patch fixes this problem. The patch also replaces all the occurrences of `8192' and `1<<13' in the sources with the proper constants defined in include files. You should now never find 8192 hardwired in C code, just to make code clearer. -- Massimo Dal Zotto
* Arrange for VACUUM to delete the init file that relcache.c usesTom Lane1999-05-01
| | | | | | to save a little bit of backend startup time. This way, the first backend started after a VACUUM will rebuild the init file with up-to-date statistics for the critical system indexes.
* Fix compile failures in dt.c --- line broken in middle ofTom Lane1999-05-01
| | | | an identifier :-(. Sloppy transmission of a patch, likely.
* Bugfix (bug by me in 1.4) in backparsing INSERT ... SELECTJan Wieck1999-04-29
| | | | Jan
* Fix from Yutaka Tanida <yutaka@marin.or.jp> for Cygwin32 support.Tatsuo Ishii1999-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 ...
* ifdef out some unused routines to suppress gcc warnings.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.
* 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 ...
* 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.
* 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.
* 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 HEAP_MOVED_IN handling in HeapTupleSatisfiesDirty().Vadim B. Mikheev1999-04-12
|
* 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.
* 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.