summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-06-29gcc did not like new pg_stat macros, for good and sufficient reason.Tom Lane
Add 'do { ... } while (0)' decoration to eliminate compiler warnings.
2001-06-29Further work on connecting the free space map (which is still just aTom Lane
stub) into the rest of the system. Adopt a cleaner approach to preventing deadlock in concurrent heap_updates: allow RelationGetBufferForTuple to select any page of the rel, and put the onus on it to lock both buffers in a consistent order. Remove no-longer-needed isExtend hack from API of ReleaseAndReadBuffer.
2001-06-29Fix VACUUM so that it can use pages as move targets even if they do notTom Lane
have any newly-dead tuples on them. This is a longstanding deficiency that prevents VACUUM from compacting a file as much as one would expect. Change requires fixing repair_frag to not assume that fraged_pages is a subset of vacuum_pages. Also make some further cleanups of places that assumed page numbers fit in int and tuple counts fit in uint32.
2001-06-29SimpleDateFormat performance improvement, thread-safe.Bruce Momjian
Barry Lind
2001-06-29Fix longstanding error in VACUUM: sometimes would examine a buffer pageTom Lane
after writing/unpinning it. An actual failure is unlikely, unless the system is tremendously short of buffers ... but a bug is a bug.
2001-06-29Turned high-frequently called pgstat functions into macrosJan Wieck
for speed. Jan
2001-06-29Fix erroneous GUC variable references from commandline-GUC patch.Tom Lane
2001-06-28Repair logic error for multi-key indexes. From Oleg Bartunov.Tom Lane
2001-06-27Install infrastructure for shared-memory free space map. Doesn't actuallyTom Lane
do anything yet, but it has the necessary connections to initialization and so forth. Make some gestures towards allowing number of blocks in a relation to be BlockNumber, ie, unsigned int, rather than signed int. (I doubt I got all the places that are sloppy about it, yet.) On the way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC variable.
2001-06-27National language support for pg_dump and pg_restore. Combined with bigPeter Eisentraut
message clean up.
2001-06-27Remove another unused include file with obsolete, useless,Tom Lane
confusing definitions in it.
2001-06-27Handle Procedure calls.Hiroshi Inoue
Now the version is 7.01.0006.
2001-06-25Fix a couple remaining places where GUC variables were assigned toTom Lane
directly, rather than through SetConfigOption().
2001-06-25Fix a couple remaining places where GUC variables were assigned toTom Lane
directly, rather than through SetConfigOption().
2001-06-25Optimizer can now estimate selectivity of IS NULL, IS NOT NULL,Tom Lane
IS TRUE, etc, with some degree of verisimilitude. Split out selectivity support functions from builtins.h into a new header file selfuncs.h, so as to reduce the number of header files builtins.h must depend on. Fix a few missing inclusions exposed thereby. From Joe Conway, with some kibitzing from Tom Lane.
2001-06-25Suppress gcc warning.Tom Lane
2001-06-25High memory usageBruce Momjian
Here is a patch which inspired by Michael Stephens that should work Dave Cramer
2001-06-24Back out BYTEA binary compatibility changes.Bruce Momjian
2001-06-23Don't use a temp file. It was created insecurely and was easy to do without.Peter Eisentraut
2001-06-23Since a missing pg_pwd file is a valid situation, don't print an errorPeter Eisentraut
message in that case.
2001-06-23> Marko Kreen <marko@l-t.ee> writes:Bruce Momjian
> > secure_ctx changes too. it will be PGC_BACKEND after '-p'. > > Oh, okay, I missed that part. Could we see the total state of the > patch --- ie, a diff against current CVS, not a bunch of deltas? > I've gotten confused about what's in and what's out. Ok, here it is. Cleared the ctx comment too - after -p it will be PGC_BACKEND in any case. Marko Kreen
2001-06-23Add TEMPORARY sequences and have SERIAL on a temp table have a temporaryBruce Momjian
sequence.
2001-06-22Attached is documentation describing plperlu differences from plperl.Bruce Momjian
Alex Pilosov
2001-06-22The new files for statistical system views.Jan Wieck
Jan
2001-06-22Statistical system views (yet without the config stuff, butJan Wieck
it's hard to keep such massive changes in sync with the tree so I need to get it in and work from there now). Jan
2001-06-22Include catalog/pg_type.h instead of manually extracting the interestingPeter Eisentraut
oid values.
2001-06-22Change SQLPrimaryKeys() so that it detects the primary keyHiroshi Inoue
other than tablename_pkey.
2001-06-22Add support to lock manager for conditionally locking a lock (ie,Tom Lane
return without waiting if we can't get the lock immediately). Not used yet, but will be needed for concurrent VACUUM.
2001-06-21Remove unused include file for long-dead flavors of locking.Tom Lane
2001-06-21Tweak error message.Tom Lane
2001-06-21Fix strangely formatted comment.Bruce Momjian
2001-06-21A bit of code beautification/cleanup of obsolete comments. RethinkTom Lane
ordering of startup operations in one or two places.
2001-06-20Shared libraries should not be linked explicitly against -lc on FreeBSDPeter Eisentraut
(see http://mail.gnu.org/pipermail/libtool/2000-July/001824.html). But apparently it should still be present with -Bsymbolic.
2001-06-20-Bsymbolic requires -lc on NetBSD. Also add rpath for non-ELF.Peter Eisentraut
from Johnny C. Lam <lamj@stat.cmu.edu> via D'Arcy
2001-06-20Re-add explicit declaration of filename_completion_function(), which seemsPeter Eisentraut
to be missing in some header files (on OpenBSD 2.8?).
2001-06-20There is no RTLD_GLOBAL on OpenBSD, says Alex Pilosov <alex@pilosoft.com>.Peter Eisentraut
2001-06-20Swedish translation for psql (my interpretation of Swedish, surely)Peter Eisentraut
2001-06-20Handle reading of startup packet and authentication exchange after forkingPeter Eisentraut
a new postmaster child process. This should eliminate problems with authentication blocking (e.g., ident, SSL init) and also reduce problems with the accept queue filling up under heavy load. The option to send elog output to a different file per backend (postgres -o) has been disabled for now because the initialization would have to happen in a different order and it's not clear we want to keep this anyway.
2001-06-20Make sure that everything says version 3.2.D'Arcy J.M. Cain
2001-06-20Add NUMERICOID to this script. This script can be run occasionally toD'Arcy J.M. Cain
make sure that we are using the right #defines in pgmodule.c but the OIDs are never actually expected to change.
2001-06-20Change the driver so that large error messages are returnedHiroshi Inoue
by multiple SQLError calls.
2001-06-20Apparently, on some systems, ExtUtils::Embed and MakeMaker are slightlyBruce Momjian
broken, and its impossible to make a shared library when compiling with both CCDLFLAGS and LDDLFAGS, you have to pick one or the other. Alex Pilosov
2001-06-19Back out SET ALL patch because it is breaking things.Bruce Momjian
2001-06-19Add IS UNKNOWN, IS NOT UNKNOWN boolean tests, fix the existing booleanTom Lane
tests to return the correct results per SQL9x when given NULL inputs. Reimplement these tests as well as IS [NOT] NULL to have their own expression node types, instead of depending on special functions. From Joe Conway, with a little help from Tom Lane.
2001-06-19Fix badly broken RelationGetRelationName().Tom Lane
2001-06-19Clean up some longstanding problems in shared-cache invalidation.Tom Lane
SI messages now include the relevant database OID, so that operations in one database do not cause useless cache flushes in backends attached to other databases. Declare SI messages properly using a union, to eliminate the former assumption that Oid is the same size as int or Index. Rewrite the nearly-unreadable code in inval.c, and document it better. Arrange for catcache flushes at end of command/transaction to happen before relcache flushes do --- this avoids loading a new tuple into the catcache while setting up new relcache entry, only to have it be flushed again immediately.
2001-06-19Move temprel name define from temprel.h to rel.h.Bruce Momjian
2001-06-19Bring RelationGetRelationName into sync with new temp rel names.Tom Lane
Quick hack -- need to decide which header should include the other.
2001-06-19Corrected the check for *message truncated* for the future use.Hiroshi Inoue
2001-06-19Changed the error handling as follows.Hiroshi Inoue
1) ERRORs cause an SQL_ERROR and the SQLSTATE='S1000'. 2) NOTICEs cause an SQL_SUCCESS_WITH_INFO and the succeeding SQLError() returns the NOTICE message.