summaryrefslogtreecommitdiff
path: root/src/backend/utils
AgeCommit message (Collapse)Author
1999-06-04Fix for failure to clean SysCache entry when a relation is deletedTom Lane
in the same transaction that created it.
1999-06-02Changed "current." into "old." in rule string backparsingJan Wieck
Jan
1999-06-02The INET and CIDR types mistakenly compared 198.68.123.0/24 andBruce Momjian
198.68.123.0/27 the same when indexing them. D'Arcy
1999-05-31Fix some latent bugs in dllist.c (carelessness about settingTom Lane
all fields that should be set). Add a MoveToFront primitive to speed up one of the hotspots in SearchSysCache.
1999-05-31Generate a more specific error message when an operator usedTom Lane
in an index doesn't have a restriction selectivity estimator.
1999-05-31Correct serious bug in hashtable expansion routine: under theTom Lane
right circumstances it would leave old and new bucket headers pointing to the same list of records.
1999-05-29Clean up inefficient and just plain bad code in some hot-spotTom Lane
cache access routines.
1999-05-26Add fix for 0x7fU constants to pgindentBruce Momjian
1999-05-26Make functions static or NOT_USED as appropriate.Bruce Momjian
1999-05-25Another pgindent run. Sorry folks.Bruce Momjian
1999-05-25Make 0x007f -> (unsigned)0x7f to make pgindent happy.Bruce Momjian
1999-05-25pgindent run over code.Bruce Momjian
1999-05-25Fixed bug in rules event qualification output.Jan Wieck
Jan
1999-05-25FIx for 0.0.0.0/0 output as 00/0.Bruce Momjian
1999-05-22Modify aset.c logic so that blocks requested from malloc getTom Lane
bigger the more space is used in an allocset. This reduces the malloc overhead very substantially on queries that need lots of memory.
1999-05-22Improve error message from failed LOAD command (includeTom Lane
kernel's error description when file is not accessible).
1999-05-22Modify backend switch parsing to prevent 'insecure' switchesTom Lane
from being accepted when they are passed from client connection request. Get rid of a couple that no longer do anything (like -P).
1999-05-19Remove 4096 string limited key on block sizeBruce Momjian
1999-05-13set client_encoding to <nothing> crashes backend.Tatsuo Ishii
1999-05-12Fixed small bug in ruleutils and added output of pg_views andJan Wieck
pg_rules to rules regression test. Jan
1999-05-12Replaced targetlist entry in GroupClause by reference numberJan Wieck
in Resdom and GroupClause so changing of resno's doesn't confuse the grouping any more. Jan
1999-05-12I am sorry, I misinterpreted the still failing trigger regression test.Bruce Momjian
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
1999-05-11Changed debug options:Jan Wieck
-d4 now prints compressed trees from nodeToString() -d5 prints pretty trees via nodeDisplay() new pg_options: pretty_plan, pretty_parse, pretty_rewritten Jan
1999-05-10Check for NUMERIC overflow a second time after roundingJan Wieck
Jan
1999-05-10Fix initdb problem introduced by recent patch.Bruce Momjian
1999-05-10Change error messages to oids come out as %u and not %d. Change has noBruce Momjian
real affect now.
1999-05-09Fix some miscellaneous places that were using raw open() orTom Lane
fopen(), instead of going through fd.c ... naughty naughty.
1999-05-09Update hash and join routines to use fd.c's new temp-fileTom Lane
code, instead of not-very-bulletproof stuff they had before.
1999-05-05I have two patches for 6.5.0:Bruce Momjian
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
1999-05-04Use sprintf() to convert float8 to a string during conversion to numeric.Thomas G. Lockhart
Original code used float8out(), but the resulting exponential notation was not handled (e.g. '3E9' was decoded as '3').
1999-05-03Correct declaration of array_map() so that it doesn't makeTom Lane
gcc quite so unhappy.
1999-05-03here are some patches for 6.5.0 which I already submitted but have neverBruce Momjian
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
1999-05-01Arrange for VACUUM to delete the init file that relcache.c usesTom Lane
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.
1999-05-01Fix compile failures in dt.c --- line broken in middle ofTom Lane
an identifier :-(. Sloppy transmission of a patch, likely.
1999-04-29Bugfix (bug by me in 1.4) in backparsing INSERT ... SELECTJan Wieck
Jan
1999-04-26Fix from Yutaka Tanida <yutaka@marin.or.jp> for Cygwin32 support.Tatsuo Ishii
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-25ifdef out some unused routines to suppress gcc warnings.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-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-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-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-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-12Fix HEAP_MOVED_IN handling in HeapTupleSatisfiesDirty().Vadim B. Mikheev
1999-04-09Fix CREATE OPERATOR ... LANGUAGE 'internal', which I broke whileTom Lane
making prosrc instead of proname be the link to the actual internal function.
1999-04-06Version string was truncating the last character.Thomas G. Lockhart
Use memcpy() rather than StrNCpy() which had forced a string termination character at the end.
1999-04-05Fix HEAP_MOVED_OFF handling in HeapTupleSatisfiesDirtyVadim B. Mikheev
(may be used while vacuuming unique btree-s).