summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-05-16Fix some typos in geqo optimizer --- it now generatesTom Lane
reasonable plans again. Still eats memory like there's no tomorrow, however :-(.
1999-05-16Change iostream to iostream.h, strstream to strstream.hTom Lane
for compatibility with older C++ libraries.
1999-05-15I made it so it rolled over files at 1MB. My table ended up with 120Bruce Momjian
segments, and my indexes had 3(Yes, it DOES work!). DROP TABLE removed ALL segments from the table, but only the main index segment. So it looks like removing the table itself is using mdunlink in md.c, while removing indexes uses FileNameUnlink() which only unlinks 1 file. As far as I can tell, calling FileNameUnlink() and mdunlink() is basically the same, except mdunlink() deletes any extra segments. I've done some testing and it seems to work. It also passes regression tests(except float8, geometry and rules, but that's normal). If this patch is right, this fixes all known multi-segment problems on Linux. Ole Gjerde
1999-05-15I've got 2 pretty small patches.Bruce Momjian
configtype.patch simply fixes a typo in config.h.in pg_dump.c.patch Updates a bunch of error messages to include a reason from the backend, and also removes a couple of unnecessary if's Ole Gjerde
1999-05-14*** empty log message ***Michael Meskes
1999-05-13Hi, Bruce!Bruce Momjian
These are my last changes to lmgr fixing deadlock handling. Please apply them to cvs... Vadim
1999-05-13Add double quotes around the sequence name generated to support theThomas G. Lockhart
SERIAL data type DEFAULT clause. This fixes a problem finding the sequence name when mixed case table names are involved.
1999-05-13Surround a variable declaration with ENABLE_OUTER_JOINS to suppressThomas G. Lockhart
compiler warnings about an unused variable.
1999-05-13set client_encoding to <nothing> crashes backend.Tatsuo Ishii
1999-05-13Rip out QueryTreeList structure, root and branch. QuerytreeTom Lane
lists are now plain old garden-variety Lists, allocated with palloc, rather than specialized expansible-array data allocated with malloc. This substantially simplifies their handling and eliminates several sources of memory leakage. Several basic types of erroneous queries (syntax error, attempt to insert a duplicate key into a unique index) now demonstrably leak zero bytes per query.
1999-05-13Update driver to 6-40-0006Byron Nikolaidis
1999-05-13Here's a small patch to cause pg_dump to emit theBruce Momjian
scale and precision for NUMERIC type column defs. Keith Parks
1999-05-13Release allocated memory during AtAbort_Memory.Tom Lane
1999-05-12Do not refer to stdin in static variable initializer ...Tom Lane
apparently some systems choke on that :-(.
1999-05-12Fixed small bug in ruleutils and added output of pg_views andJan Wieck
pg_rules to rules regression test. Jan
1999-05-12Fixed wrong hasAggs when aggregate columns of view aren'tJan Wieck
selected. Disabled ability of defining DISTINCT or ORDER BY on views. 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-12Added installation of created procedural languages to initdbJan Wieck
Jan
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