summaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
2001-04-05Fix comment that Vadim found confusing.Tom Lane
2001-04-05StartupXLOG(): initialize XLogCtl->Insert to new page if there isVadim B. Mikheev
no room for a record on last log page.
2001-04-04Fix/cleanup DLLLIBS handling for Cygwin port. If it works it's toTom Lane
Jason Tishler's credit, if it's broken it's my fault ...
2001-04-04Have to lock buffer while changing page' LSN.Vadim B. Mikheev
Thanks to Tom.
2001-04-03Log sequence creation (to initialize magic number on recovery).Vadim B. Mikheev
2001-04-03Correct bogus mktime() calls.Tom Lane
2001-04-03Check for failure of malloc() and realloc() when allocating space forTom Lane
VFD entries. On platforms where dereferencing a null pointer doesn't lead to coredump, it's possible that this omission could have led to unpleasant behavior like deleting the wrong file.
2001-04-03open(2) flags saved for re-opening a virtual file should probably notTom Lane
include O_CREAT.
2001-04-02Restore pre-7.1 behavior of allowing DROP of a table whose underlyingTom Lane
physical file has disappeared. There is no really good reason why relcache should be opening the underlying file at all, AFAICS. In any case we needn't raise a hard error here.
2001-04-02_mdfd_getrelnfd() should include kernel error code in failure message.Tom Lane
2001-04-02Complain if the same column name is inherited from multiple parentsTom Lane
with different default values, unless the child table redeclares the column with an explicit default. This was judged to be the approach least likely to cause unpleasant surprises.
2001-04-02Disable creation of indexes on system tables.Bruce Momjian
2001-04-02Remove duplicate definition of DLLLIBS, per gripe from Fred Yankowski.Tom Lane
2001-04-02Tom Ivar Helbekkmo <tih@kpnQwest.no> says that dynamic linking worksTom Lane
now on VAX NetBSD. Hence, remove #ifdef'd disable tests.
2001-04-01Planner wasn't correctly handling adjustment of tuple_fraction for theTom Lane
case of LIMIT in a sub-select.
2001-03-30Re-allow specification of a new default value for an inherited columnTom Lane
in CREATE TABLE, but give a warning notice. Clean up inconsistent handling of defaults and NOT NULL flags from multiply-inherited columns. Per pghackers discussion 28-Mar through 30-Mar.
2001-03-29Rename 'random_seed' back to 'seed'.Peter Eisentraut
2001-03-27Quick hack to fix Oliver Elphick's problem with subselects in anTom Lane
inheritance query: make duplicate copies of subplans in adjust_inherited_attrs. When we redesign querytrees we really gotta do something about this issue of whether querytrees are read-only and can share substructure or not.
2001-03-27Repair pgindent damage to comments.Tom Lane
2001-03-27The following patch updates the FAQ_AIX and makes C++ code work withBruce Momjian
more recent versions of the IBM C++ compiler (now called VisualAge C++). The C++ part was previously broken (g++ and xlC), thus this is zero risk. Only AIX specific parts are touched (1 Makefile.shlib line (link with $(COMPILER ) instead of $(CC) and one shell script line (parameter -C to nm to not demangle C++ symbo ls for .exp file)). I thus ask you to please apply this patch before release. With or without this patch RC1 on AIX 4.3.2 RS6000 passes "gmake check" for both the native compiler vac.C 5.0.1 and gcc 2.95.2 :-) Andreas
2001-03-27Spell __volatile__ correctly.Tom Lane
2001-03-26Add period to message.Bruce Momjian
2001-03-26Change message to _the_ administrator. There is only one administrativeBruce Momjian
account. This connection has been terminated by the administrator.
2001-03-25Fix unportable assumptions about alignment of local char[n] variables.Tom Lane
2001-03-25Fix code that incorrectly assumed a 'char foo[N]' local variable wouldTom Lane
be aligned on a word boundary. Per report from Steve Nicolai.
2001-03-23When using 'long long int' for int64 type, check to see if the compilerTom Lane
accepts nnnLL syntax for long long constants. If so, decorate the CRC64 constants with LL to avoid warnings and/or erroneous results from certain non-standards-compliant compilers.
2001-03-23Mark exception and assert global variables as DLLIMPORT, so that plpgsqlTom Lane
can be compiled with asserts enabled on Windoze.
2001-03-23Fix comments that were mis-wrapped, for Tom Lane.Bruce Momjian
2001-03-22Fix Joubert's complaint that int8-sized numeric literals are mishandledTom Lane
on Alpha (because parser mistakenly assumes that a nonoverflow result from strtol means the value will fit into int4). A scan for other uses of strtol and strtoul found a couple other places with the same mistake; fix them too. The changes are all conditional on HAVE_LONG_INT_64 to avoid complaints from compilers that think x != x is a silly test (cf. pg_atoi).
2001-03-22Remove dashes in comments that don't need them, rewrap with pgindent.Bruce Momjian
2001-03-22pgindent run. Make it all clean.Bruce Momjian
2001-03-21Check bufHdr->cntxDirty and call StartBufferIO in BufferSync()Vadim B. Mikheev
*before* acquiring shlock on buffer context. This way we should be protected against conflicts with FlushRelationBuffers. (Seems we never do excl lock and then StartBufferIO for the same buffer, so there should be no deadlock here, - but we'd better check this very soon).
2001-03-20Fix 'ps' WAIT status display bug on setproctitle() platforms, cleared byBruce Momjian
Tom Lane.
2001-03-19Tweak out-of-memory error messages to include the request size, so thatTom Lane
it's easier to tell whether a bug report is talking about progressive memory exhaustion or a wacko requested chunk size.
2001-03-19Make regular-expression error messages a tad less obscure,Tom Lane
per gripe from Josh Berkus.
2001-03-18Remove NEXTXID xlog record type to avoid three-way deadlock risk.Tom Lane
NEXTXID isn't really necessary, per previous discussion in pghackers, but I mulishy insisted we should put it in anyway. Mea culpa.
2001-03-18When we add 'waiting' to the ps_status display, there should be aTom Lane
space in front of it. Improve comments a little.
2001-03-18Considering the BeOS port didn't compile without IPC_STAT and shm_nattch,Tom Lane
I'm betting the QNX4 port does not either ...
2001-03-18Patches from Cyril Velter to make shared-memory-conflict-detection codeTom Lane
work in BeOS port.
2001-03-18Make sure ControlFile logId/logSeg don't go backwards (barely possible given aTom Lane
slow backend, if we update unconditionally as the code did before).
2001-03-17Rearrange XLogFileInit so that control-file spinlock is not held while fillingTom Lane
the new log file with zeroes, only while renaming it into place. This should prevent problems with 'stuck spinlock' errors under heavy load.
2001-03-16Support syncing WAL log to disk using either fsync(), fdatasync(),Tom Lane
O_SYNC, or O_DSYNC (as available on a given platform). Add GUC parameter to control sync method. Also, add defense to XLogWrite to prevent it from going nuts if passed a target write position that's past the end of the buffers so far filled by XLogInsert.
2001-03-14Give a more reasonable error message for a bad attribute name appliedTom Lane
to a join or subselect alias ... cf. Oliver Elphick's complaint 13-Mar.
2001-03-14Reduce amount of memory used per tuple for after-event triggers. ThisTom Lane
is still a memory leak, but a little less bad than it was.
2001-03-14COPY should handle after-insert triggers the same as execMain.c does.Tom Lane
I'm not sure that it's really necessary to save insert events when there are only after update or delete triggers, but certainly it's wrong for COPY to behave differently from an INSERT query.
2001-03-14Use SEP_CHAR consistently in forming XLOG pathnames.Tom Lane
2001-03-14Remove obsolete PowerPC-specific hack for comparisons to DBL_MINTom Lane
(per recent discussion with Tatsuo). Hopefully the compilers with that old bug are all long gone.
2001-03-14'waiting' status display had extra space, removed.Bruce Momjian
Change the administrator to 'an' administrator.
2001-03-14Don't go belly-up if fork() fails for a routine checkpoint subprocess.Tom Lane
Just try again later.
2001-03-14Fix numeric modulo operator for case of fractional right argument.Tom Lane