summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-07-02Update abstime expected results to match post-30-June-2001 reality.Tom Lane
Probably the right fix is to remove 'current' special value entirely, but I don't want to see regression test failures until that happens.
2001-07-02Make the found-a-buffer-when-we-were-expecting-to-extend-the-rel pathTom Lane
actually work. It had been throwing an Assert as of my recent changes to bufmgr.c, but was not really right even before that AFAICT.
2001-07-01Under new theory of operation wherein postmaster forks childrenTom Lane
immediately, we will fork a child even if the database state does not permit connections to be accepted (eg, we are in recovery mode). The child process will correctly reject the connection and exit as soon as it's finished collecting the connection request message. However, this means that reaper() must be prepared to see child process exit signals even while it's waiting for startup or shutdown process to finish. As was, a connection request arriving during a database recovery or shutdown would cause postmaster abort.
2001-06-30Allow default transaction isolation level (a.k.a. set sessionPeter Eisentraut
characteristics) to be set through GUC.
2001-06-30Add missing dependency and fix thinko.Peter Eisentraut
2001-06-30portability enhancementsPeter Eisentraut
2001-06-30NLS for the psql \d family of commands. (E.g., the column headers willPeter Eisentraut
have localized strings.) Also, modernize the system catalog queries where appropriate, e.g., with outer joins.
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