aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Change iostream to iostream.h, strstream to strstream.hTom Lane1999-05-16
| | | | for compatibility with older C++ libraries.
* I made it so it rolled over files at 1MB. My table ended up with 120Bruce Momjian1999-05-15
| | | | | | | | | | | | | | | | | | | 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
* I've got 2 pretty small patches.Bruce Momjian1999-05-15
| | | | | | | | | | 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
* *** empty log message ***Michael Meskes1999-05-14
|
* Hi, Bruce!Bruce Momjian1999-05-13
| | | | | | | These are my last changes to lmgr fixing deadlock handling. Please apply them to cvs... Vadim
* Add double quotes around the sequence name generated to support theThomas G. Lockhart1999-05-13
| | | | | | SERIAL data type DEFAULT clause. This fixes a problem finding the sequence name when mixed case table names are involved.
* Surround a variable declaration with ENABLE_OUTER_JOINS to suppressThomas G. Lockhart1999-05-13
| | | | compiler warnings about an unused variable.
* set client_encoding to <nothing> crashes backend.Tatsuo Ishii1999-05-13
|
* Rip out QueryTreeList structure, root and branch. QuerytreeTom Lane1999-05-13
| | | | | | | | | | 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.
* Update driver to 6-40-0006Byron Nikolaidis1999-05-13
|
* Here's a small patch to cause pg_dump to emit theBruce Momjian1999-05-13
| | | | | | scale and precision for NUMERIC type column defs. Keith Parks
* Release allocated memory during AtAbort_Memory.Tom Lane1999-05-13
|
* Do not refer to stdin in static variable initializer ...Tom Lane1999-05-12
| | | | apparently some systems choke on that :-(.
* Fixed small bug in ruleutils and added output of pg_views andJan Wieck1999-05-12
| | | | | | pg_rules to rules regression test. Jan
* Fixed wrong hasAggs when aggregate columns of view aren'tJan Wieck1999-05-12
| | | | | | | | selected. Disabled ability of defining DISTINCT or ORDER BY on views. 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
* Added installation of created procedural languages to initdbJan Wieck1999-05-12
| | | | Jan
* Adjust elog NOTICE messages to surround table and column names with singleThomas G. Lockhart1999-05-12
| | | | quotes.
* Add keywords to implement Vadim's transaction isolationThomas G. Lockhart1999-05-12
| | | | | | | | | | 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.
* Fix problem with multiple indices defined if using column- and table-Thomas G. Lockhart1999-05-12
| | | | | | | 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.
* Handle conversion of floating point constants to internal strings.Thomas G. Lockhart1999-05-12
|
* Keep long non-quoted numeric strings *as* untyped strings if they failThomas G. Lockhart1999-05-12
| | | | | | the obvious conversion. Define a new pattern "decimal" which is non-exponential floating point for use with numeric() and decimal() types.
* Fix bogus assumption that MAXALIGN is at least sizeof(pointer).Tom Lane1999-05-12
|
* Fix configure to generate correct expansion of library directoryTom Lane1999-05-11
| | | | in pl/plpgsql/src/mklang.sql.
* Just a couple more files to untar in src/test/regressBruce Momjian1999-05-11
| | | | | | | | (int2,int4,geometry). Cheers, Patrick Welche
* 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
* put back mklang.sql.in file.Bruce Momjian1999-05-11
|
* clean up commentsBruce Momjian1999-05-11
|
* Check for NUMERIC overflow a second time after roundingJan Wieck1999-05-10
| | | | Jan
* Allow perl install as non-root, from Geoff KeatingBruce Momjian1999-05-10
|
* Update to PyGreSQL 2.3.Bruce Momjian1999-05-10
|
* libpq++ uses fe_setauthsvc which is deprecated and results in an errorBruce Momjian1999-05-10
| | | | | | | | | | | | | 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
* Rename MAP_FILE to USERMAP_FILE for Digital Unix.Bruce Momjian1999-05-10
|
* 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.
* Correct type_sanity test so it doesn't spit up on newTom Lane1999-05-09
| | | | definition of numeric_in.
* Rearrange top-level rewrite operations so that EXPLAIN worksTom Lane1999-05-09
| | | | on queries involving UNION, EXCEPT, INTERSECT.
* Running lo_read/lo_write under different memory contextTatsuo Ishii1999-05-09
| | | | | | cause troubles. See Message-Id: <199905090312.MAA00466@ext16.sra.co.jp> for more details.
* Mistyping by me.Vadim B. Mikheev1999-05-09
| | | | Fixed by Hiroshi.
* Repair incorrect pg_proc entry for numeric_in.Tom Lane1999-05-09
|
* 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.
* Add 'temporary file' facility to fd.c, and arrange for tempTom Lane1999-05-09
| | | | | | | | | 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.
* Add new netbsd file.Bruce Momjian1999-05-08
|
* *** empty log message ***Michael Meskes1999-05-07
|
* Remove unused Netbsd files.Bruce Momjian1999-05-07
|
* Please apply the following patch for regress.sh to do something useful withBruce Momjian1999-05-07
| | | | | | | | | | | | "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
* Please apply the following patch for regress.sh to do something usefulBruce Momjian1999-05-07
| | | | | with "SYSTEM", Patrick Welche
* Fix LMGR for MVCC.Vadim B. Mikheev1999-05-07
| | | | Get rid of Extend lock mode.