summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-05-12Adjust elog NOTICE messages to surround table and column names with singleThomas G. Lockhart
quotes.
1999-05-12Add keywords to implement Vadim's transaction isolationThomas G. Lockhart
and lock syntax as fully parsed tokens. Two keywords for isolation are non-reserved SQL92 (COMMITTED, SERIALIZABLE). All other new keywords are non-reserved Postgres (not SQL92) (ACCESS, EXCLUSIVE, MODE, SHARE). Add syntax to allow CREATE [GLOBAL|LOCAL] TEMPORARY TABLE, throwing an error if GLOBAL is specified.
1999-05-12Fix problem with multiple indices defined if using column- and table-Thomas G. Lockhart
constraints. Reported by Tom Lane. Now, check for duplicate indices and retain the one which is a primary-key. Adjust elog NOTICE messages to surround table and column names with single quotes.
1999-05-12Handle conversion of floating point constants to internal strings.Thomas G. Lockhart
1999-05-12Keep long non-quoted numeric strings *as* untyped strings if they failThomas G. Lockhart
the obvious conversion. Define a new pattern "decimal" which is non-exponential floating point for use with numeric() and decimal() types.
1999-05-12Fix bogus assumption that MAXALIGN is at least sizeof(pointer).Tom Lane
1999-05-11Fix configure to generate correct expansion of library directoryTom Lane
in pl/plpgsql/src/mklang.sql.
1999-05-11Just a couple more files to untar in src/test/regressBruce Momjian
(int2,int4,geometry). Cheers, Patrick Welche
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-11put back mklang.sql.in file.Bruce Momjian
1999-05-11clean up commentsBruce Momjian
1999-05-10Check for NUMERIC overflow a second time after roundingJan Wieck
Jan
1999-05-10Allow perl install as non-root, from Geoff KeatingBruce Momjian
1999-05-10Update to PyGreSQL 2.3.Bruce Momjian
1999-05-10 libpq++ uses fe_setauthsvc which is deprecated and results in an errorBruce Momjian
on connection. This patch changes it to use PQconnectdb rather than {fe_setauthsvc,PQsetdb}. This still isn't the complete solution, as there is no provision for user,password in class PgEnv, but it does get rid of the error message. Tested with gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release) under NetBSD-1.3K/i386. Cheers, Patrick Welche
1999-05-10Rename MAP_FILE to USERMAP_FILE for Digital Unix.Bruce Momjian
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-09Correct type_sanity test so it doesn't spit up on newTom Lane
definition of numeric_in.
1999-05-09Rearrange top-level rewrite operations so that EXPLAIN worksTom Lane
on queries involving UNION, EXCEPT, INTERSECT.
1999-05-09Running lo_read/lo_write under different memory contextTatsuo Ishii
cause troubles. See Message-Id: <199905090312.MAA00466@ext16.sra.co.jp> for more details.
1999-05-09Mistyping by me.Vadim B. Mikheev
Fixed by Hiroshi.
1999-05-09Repair incorrect pg_proc entry for numeric_in.Tom Lane
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-09Add 'temporary file' facility to fd.c, and arrange for tempTom Lane
files to be closed automatically at transaction abort or commit, should they still be open. Also close any still-open stdio files allocated with AllocateFile at abort/commit. This should eliminate problems with leakage of file descriptors after an error. Also, put in some primitive buffered-IO support so that psort.c can use virtual files without severe performance penalties.
1999-05-08Add new netbsd file.Bruce Momjian
1999-05-07*** empty log message ***Michael Meskes
1999-05-07Remove unused Netbsd files.Bruce Momjian
1999-05-07Please apply the following patch for regress.sh to do something useful withBruce Momjian
"SYSTEM", and unpack the files in the uuencoded .tar.gz file at the end in src/test/regress so that the int2, int4 and geometry tests pass on NetBSD/i386. They just fail on different wording of error messages and eg printing "0" rather than "-0". At a guess the same will be true for the other NetBSD ports, but I can't test them. Cheers, Patrick
1999-05-07Please apply the following patch for regress.sh to do something usefulBruce Momjian
with "SYSTEM", Patrick Welche
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