summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-05-07Fix LMGR for MVCC.Vadim B. Mikheev
Get rid of Extend lock mode.
1999-05-06Update regress test for CASE to enable tests involving joins.Tom Lane
1999-05-06Fix oversights in flatten_tlistentry and replace_clause_joinvar_refsTom Lane
that led to CASE expressions not working very well in joined queries.
1999-05-06fix_indxqual_references didn't cope with ArrayRef nodes,Tom Lane
meaning that this failed: select proname,typname,prosrc from pg_proc,pg_type where proname = 'float8' and pg_proc.proargtypes[0] = pg_type.oid;
1999-05-06Fix some nasty coredump bugs in hashjoin. This code was justTom Lane
about certain to fail anytime it decided the relation to be hashed was too big to fit in memory --- the code for 'batching' a series of hashjoins had multiple errors. I've fixed the easier problems. A remaining big problem is that you can get 'hashtable out of memory' if the code's guesstimate about how much overflow space it will need turns out wrong. That will require much more extensive revisions to fix, so I'm committing these fixes now before I start on that problem.
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-05small error message improvement from Dmitry SamersoffBruce Momjian
1999-05-04Repair incorrectly-figured snprintf length restriction.Tom Lane
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-04Allow -t tablename to preserve case if specified as "tablename".Thomas G. Lockhart
1999-05-04Make sure targetlist generated for subplan does not shareTom Lane
nodes with HAVING qualifier of upper plan. Have not seen any failures, just being a little bit paranoid...
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-03Revise union_planner and associated routines to clean up breakageTom Lane
from EXCEPT/HAVING patch. Cases involving nontrivial GROUP BY expressions now work again. Also, the code is at least somewhat better documented...
1999-05-01Clean up cost_sort some more: most callers were double-countingTom Lane
the cost of reading the source data.
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-01-T was omitted from getopt() call.Tom Lane
1999-05-01Fix compile failures in dt.c --- line broken in middle ofTom Lane
an identifier :-(. Sloppy transmission of a patch, likely.
1999-05-01Patch from "Hiroshi Inoue" <Inoue@tpf.co.jp> forVadim B. Mikheev
FATAL 1:btree: BTP_CHAIN flag was expected
1999-05-01Use page-level ExtendLock lock instead of table-level -Vadim B. Mikheev
should be faster.
1999-04-30cleanupBruce Momjian
1999-04-30Clean up typo causing compile failure.Bruce Momjian
1999-04-30Fill in reasonable-looking cost estimates in inserted nodes.Tom Lane
This makes no difference to the optimizer, which has already decided what it's gonna do, but it makes the output of EXPLAIN much more plausible.
1999-04-30Clean up some bogosities in path cost estimation, likeTom Lane
sometimes estimating an index scan of a table to be cheaper than a sequential scan of the same tuples...
1999-04-30Fix nasty little typo that prevented get_cheapest_path_for_joinkeysTom Lane
from ever returning a path. This put a bit of a crimp in the system's ability to generate intelligent merge-join plans...
1999-04-30Prevent priority inversion in locking by checking for existing locksBruce Momjian
before going into queue behind person with higher piority.
1999-04-29Bugfix (bug by me in 1.4) in backparsing INSERT ... SELECTJan Wieck
Jan
1999-04-29Defend against 'update oid'. Someday we might want to supportTom Lane
that, but it'd be a New Feature, wouldn't it ... in the meantime, avoiding a backend crash seems worthwhile.
1999-04-29Aggregate functions didn't work on subscripted array references.Tom Lane
Things are better now.
1999-04-29Several routines in setrefs.c would crash on array refsTom Lane
due to lack of check for recursing into a null subexpression.
1999-04-28Fix stupid typo that broke empty-query response... odd thatTom Lane
this is not revealed by any of our regression tests...
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