aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Fix AbortOutOfAnyTransaction logic to avoid notice aboutTom Lane2000-10-24
| | | | | | 'AbortTransaction and not in in-progress state' when client disconnects just after an error. Notice seems pretty harmless, so I'm not going to worry about back-patching this into 7.0.* ...
* Wups, messed up the comment markers on that last change.Tom Lane2000-10-24
|
* Ignore missing postmaster.opts.default file.Peter Eisentraut2000-10-24
|
* New config.guess and config.sub with Darwin support (from official GNUPeter Eisentraut2000-10-24
| | | | source). Adjust resultmap accordingly and fix some other regexps.
* Create empty file so that CVS sources compile (Vadim can fill in realTom Lane2000-10-24
| | | | definition later...)
* Update plperl README per suggestions from Edward Bridges.Tom Lane2000-10-24
|
* Enable plperl to be built when --with-perl is selected. Dunno whetherTom Lane2000-10-24
| | | | | latest fixes make it safe or not, but we won't find out if no one builds it, eh?
* Eliminate POLLUTE=1 hack for cross-Perl-version compatibility by usingTom Lane2000-10-24
| | | | Devel::PPPort instead. Thanks to Gilles Darold for doing the legwork.
* Various fixes to TAR header formatPhilip Warner2000-10-24
| | | | | Fix for endian bug in TAR output Nicer error messages in pg_dump
* WAL miscVadim B. Mikheev2000-10-24
|
* Rejigger do_lo_list's query so that obj_description() is evaluated onlyTom Lane2000-10-24
| | | | once per distinct LO, not once per pg_largeobject tuple.
* Reconsider page size for large objects: rather than stuffing disk pagesTom Lane2000-10-24
| | | | | | | | as full as possible, seems better to use a tuple size around BLCKSZ/4 so that less space is wasted when a LO tuple is updated. Also, this lets us use a logical page size that's an exact power of two, avoiding partial-page writes when client is sending us stuff in power-of-2 buffer chunks.
* Increase buffer size to improve performance of client-side lo_import.Tom Lane2000-10-24
|
* Remove arbitrary limit on number of simultaneously open large objects.Tom Lane2000-10-24
| | | | | This used to make some sense under the old implementation, but now an open LO is pretty darn cheap, so why restrict it?
* Major overhaul of large-object implementation, by Denis Perchine withTom Lane2000-10-24
| | | | | | | | | | | | | kibitzing from Tom Lane. Large objects are now all stored in a single system relation "pg_largeobject" --- no more xinv or xinx files, no more relkind 'l'. This should offer substantial performance improvement for large numbers of LOs, since there won't be directory bloat anymore. It'll also fix problems like running out of locktable space when you access thousands of LOs in one transaction. Also clean up cruft in read/write routines. LOs with "holes" in them (never-written byte ranges) now work just like Unix files with holes do: a hole reads as zeroes but doesn't occupy storage space. INITDB forced!
* Add some modicum of error detection...Tom Lane2000-10-24
|
* Remove testlo2.c --- there seems to be no difference between this andTom Lane2000-10-24
| | | | testlo.c, except it's even skimpier on error checking :-(
* If a field is incompressible ('compressed' data is actually larger thanTom Lane2000-10-23
| | | | | | | | source, due to addition of header overhead), store it as plain data rather than pseudo-compressed data. This saves a few microseconds when reading it out, but much more importantly guarantees that the toaster won't actually expand tuples that contain incompressible data. That's essential to avoid 'Tuple too big' failures with large objects.
* Polish shared library build to reduce number of special hacks. InPeter Eisentraut2000-10-23
| | | | | | | | | particular, allow linking with arbitrary commands rather than only $(AR) or $(LD), and treat C++ without hacks. Add option to disable shared libraries. This takes the place of the BSD_SHLIB variable. The regression test driver ignores the plpgsql test if there are no shared libraries available.
* Back out xti.h portion of the patch.Bruce Momjian2000-10-23
|
* New relcache hash table with RelFileNode as key to be usedVadim B. Mikheev2000-10-23
| | | | | | | from bufmgr - it would be nice to have separate hash in smgr for node <--> fd mappings, but for the moment it's easy to add new hash to relcache. Fixed small bug in xlog.c:ReadRecord.
* Some small polishing of Mark Hollomon's cleanup of DROP command: mightTom Lane2000-10-22
| | | | | | | | | as well allow DROP multiple INDEX, RULE, TYPE as well. Add missing CommandCounterIncrement to DROP loop, which could cause trouble otherwise with multiple DROP of items affecting same catalog entries. Try to bring a little consistency to various error messages using 'does not exist', 'nonexistent', etc --- I standardized on 'does not exist' since that's what the vast majority of the existing uses seem to be.
* plpgsql regress tests seem a tad out of date ... repair bit rot.Tom Lane2000-10-22
|
* Cleanup error messages in findLastBuiltinOidPhilip Warner2000-10-22
|
* Makeover for Unixware 7.1.1Peter Eisentraut2000-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile: Add more standard targets. Improve shell redirection in GNU make detection. * src/backend/access/transam/rmgr.c: Fix incorrect(?) C. * src/backend/libpq/pqcomm.c (StreamConnection): Work around accept() bug. * src/include/port/unixware.h: ...with help from here. * src/backend/nodes/print.c (plannode_type): Remove some "break"s after "return"s. * src/backend/tcop/dest.c (DestToFunction): ditto. * src/backend/nodes/readfuncs.c: Add proper prototypes. * src/backend/utils/adt/numutils.c (pg_atoi): Cope specially with strtol() setting EINVAL. This saves us from creating an extra set of regression test output for the affected systems. * src/include/storage/s_lock.h (tas): Correct prototype. * src/interfaces/libpq/fe-connect.c (parseServiceInfo): Don't use variable as dimension in array definition. * src/makefiles/Makefile.unixware: Add support for GCC. * src/template/unixware: same here * src/test/regress/expected/abstime-solaris-1947.out: Adjust whitespace. * src/test/regress/expected/horology-solaris-1947.out: Part of this file was evidently missing. * src/test/regress/pg_regress.sh: Fix shell. mkdir -p returns non-zero if the directory exists. * src/test/regress/resultmap: Add entries for Unixware.
* Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffersTom Lane2000-10-22
| | | | | | | | | and DropBuffers. Formerly we cleared the flag for each buffer currently belonging to the target rel or database, but that's completely wrong! Must look at BufferTagLastDirtied to see whether the BufferDirtiedByMe flag is relevant to target rel or not; this is *independent* of the current contents of the buffer. Vadim spotted this problem, but his fix was only partially correct...
* Patch VACUUM problem with moving chain of update tuples when sourceTom Lane2000-10-22
| | | | | and destination of a tuple lie on the same page. (Previously fixed in REL7_0 branch, now apply to current.)
* datlastsysoid is an Oid, not an int4 ...Tom Lane2000-10-22
|
* Use new datlastsysoid field in pg_database + some cleanups & fixesPhilip Warner2000-10-22
|
* Add new datlastsysoid to pg_database.Philip Warner2000-10-22
| | | | | This field stores the last allocated OID after the database was created. Used by pg_dump in deciding what is user-defined vs. system-defined.
* Fixed mixing of two enum datatypes.Michael Meskes2000-10-22
|
* BACKED OUT.Bruce Momjian2000-10-22
| | | | | | | | > Regression tests opr_sanity and sanity_check are now failing. Um, Bruce, I've said several times that I didn't think Perchine's large object changes should be applied until someone had actually reviewed them.
* Crash on NULL again in system table check.Bruce Momjian2000-10-22
|
* Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template toPeter Eisentraut2000-10-21
| | | | | | | | | Makefile.port, since they are of no use to configure and much of the library magic happens in Makefile.port anyway. Use __alpha, not __alpha__, since the former is universally available. Remove -DNOFIXADE from the compile command line and put it in the port include file.
* First a core dump which can be relieved by:Bruce Momjian2000-10-21
| | | | Patrick Welche
* This file isn't used anywhere.Peter Eisentraut2000-10-21
|
* Remove CC and CXX.Bruce Momjian2000-10-21
|
* here it is as requested by Bruce.Bruce Momjian2000-10-21
| | | | | | | | | I tested it restoring my database with > 100000 BLOBS, and dumping it out. But unfortunatly I can not restore it back due to problems in pg_dump. -- Sincerely Yours, Denis Perchine
* Per my ongoing discussion with PeterE, here is the patch I applied toBruce Momjian2000-10-21
| | | | | | src/template/unixware: Larry Rosenman
* WALVadim B. Mikheev2000-10-21
|
* Add check for GNU or not GNU ld, needed to pick the right export_dynamicPeter Eisentraut2000-10-20
| | | | flags for Solaris. The test itself is straight from libtool.
* Add support for VPATH builds, that is, building somewhere else than in thePeter Eisentraut2000-10-20
| | | | | | | | | source directory. This involves mostly makefiles using $(srcdir) when they might have used ".". (Regression tests don't work with this, yet.) Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS). Add "override" keyword in most places, to preserve necessary flags even when the user overrode the flags.
* WAL need in overwrite mode - restored in new wayVadim B. Mikheev2000-10-20
| | | | | (without PageManagetSetMode -:)) Safe shuffle mode behaviour retained.
* redo/undo support functions and cleanups.Vadim B. Mikheev2000-10-20
|
* Remove 'override' keyword, which breaks the build on HPUX, and probablyTom Lane2000-10-20
| | | | | | | | anywhere else that Makefile.shlib needs to modify CFLAGS to produce valid code for a shared library. I'm not real clear on *why* the use of override causes make to ignore the later attempt to assign CFLAGS += but it indubitably does --- at least on gmake 3.79.1. gmake bug?
* Clean up gcc warnings.Tom Lane2000-10-20
|
* Improve comments.Tom Lane2000-10-19
|
* Fix missing CommandCounterIncrement in DROP USER.Tom Lane2000-10-19
|
* The following patch was sent to the patches list:Bruce Momjian2000-10-18
| | | | | | | | | | | | | | | | | This patch forces the use of 'DROP VIEW' to destroy views. It also changes the syntax of DROP VIEW to DROP VIEW v1, v2, ... to match the syntax of DROP TABLE. Some error messages were changed so this patch also includes changes to the appropriate expected/*.out files. Doc changes for 'DROP TABLE" and 'DROP VIEW' are included. -- Mark Hollomon
* I had to change buffer tag: now RelFileNode is used instead ofVadim B. Mikheev2000-10-18
| | | | | LockRelId - ie physical information, not logical. It's required for WAL. Regression tests passed.