summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-02-26Implement COMMIT_SIBLINGS parameter to allow pre-commit delay to occurTom Lane
only if at least N other backends currently have open transactions. This is not a great deal of intelligence about whether a delay might be profitable ... but it beats no intelligence at all. Note that the default COMMIT_DELAY is still zero --- this new code does nothing unless that setting is changed. Also, mark ENABLEFSYNC as a system-wide setting. It's no longer safe to allow that to be set per-backend, since we may be relying on some other backend's fsync to have synced the WAL log.
2001-02-24At least on HPUX, select with delay.tv_sec = 0 and delay.tv_usec = 1000000Tom Lane
does not lead to a one-second delay, but to an immediate EINVAL failure. This causes CHECKPOINT to crash with s_lock_stuck much too quickly :-(. Fix by breaking down the requested wait div/mod 1e6.
2001-02-24When under postmaster, bogus arguments should cause proc_exit(0) notTom Lane
proc_exit(1). Unless you think a system-wide restart is an appropriate response to bogus PGOPTIONS, that is.
2001-02-23Fix pg_dump crashes caused by bogus use of va_start/va_end (only seenTom Lane
on some platforms, which is not too surprising considering how platform specific these macros must be).
2001-02-23As long as we're fixing this space calculation, let's actually do itTom Lane
right. We should MAXALIGN the individual items because we'll allocate them individually, not as an array.
2001-02-23Update comments on locks.Bruce Momjian
2001-02-23Bruce Momjian <pgman@candle.pha.pa.us> writes:Bruce Momjian
> Is there one LOCKMETHODCTL for every backend? I thought there was only > one of them. >> >> You're right, that line is erroneous; it should read >> >> size += MAX_LOCK_METHODS * MAXALIGN(sizeof(LOCKMETHODCTL)); >> >> Not a significant error but it should be changed for clarity ...
2001-02-23Resolve a compile error.Hiroshi Inoue
2001-02-23Reindex of shared system indexes must be overwrite mode.Hiroshi Inoue
2001-02-23Enhanced UTF-8/SJIS mapping generator, contributed byTatsuo Ishii
Eiji Tokuya" <e-tokuya@Mail.Sankyo-Unyu.co.jp>
2001-02-23chinese-gb -> chinese_gb.Bruce Momjian
2001-02-23Rename to chinese-gbBruce Momjian
2001-02-22More comment cleanups.Bruce Momjian
2001-02-22More comment improvements.Bruce Momjian
2001-02-22Clean up index/btree comments/macros, as approved.Bruce Momjian
2001-02-22Change /*---- commants to /* where appropriate. pgindent will tightenBruce Momjian
up the comments later.
2001-02-22Update flowchart xfig file.Bruce Momjian
2001-02-22 The attachement is the Chinese (GB) patch for PgAccess, don't knowBruce Momjian
if it's correct to post here. It's simple to do the translation, And I've test in 7.0.2 & current CVS, seems pretty good. If anyone want this little thing, I'll very happy. use it is very simple, just gunzip it and copy to $PGDIR/share/pgaccess/lib/languages/ for current CVS version, and $PGDIR/pgaccess/lib/languages/ for 7.0* BTW: I havn't got the tools to translate it to BIG5 encoding, is there anybody to to it? He Weiping(Laser Henry)
2001-02-22Avoid 'FATAL: out of free buffers: time to abort !" errorHiroshi Inoue
during WAL recovery. Recovery failure is always serious.
2001-02-22Adjust expected error message due to change of keyword case-folding.Tom Lane
2001-02-22Add _REGEX_UTILS_H to avoid duplication.Tatsuo Ishii
2001-02-22Fix the bug report [ODBC] select from a table having more than 32 fields:Hiroshi Inoue
reported by Matteo Cavalleri. Great thanks to Tom for his accurate analysis.
2001-02-21Correct bogus output formatting of timeofday() function. A number ofTom Lane
microseconds < 100000 should be displayed as, eg, 13.000126, not 13.126.
2001-02-21Comment improvements.Bruce Momjian
2001-02-21Change case-folding of keywords to conform to SQL99 and fix misbehaviorTom Lane
in Turkish locale. Keywords are now checked under pure ASCII case-folding rules ('A'-'Z'->'a'-'z' and nothing else). However, once a word is determined not to be a keyword, it will be case-folded under the current locale, same as before. See pghackers discussion 20-Feb-01.
2001-02-21Safe guard in case of imporper data is provided to elog()Tatsuo Ishii
in multi-byte build.
2001-02-21new regression data for 7.1Tatsuo Ishii
2001-02-21change destroydb -> dropdbTatsuo Ishii
2001-02-20Clean out any old versions of no-longer-installed header files that mayTom Lane
be lurking in the install target directory. But don't zap up-to-date headers (so install-all-headers before regular install will work). Per suggestion from Larry Rosenman.
2001-02-20Remove unportable #warning directive.Tom Lane
2001-02-20Make sure -L and -I's for our source tree are always before system includePeter Eisentraut
or library directories on the command line.
2001-02-20Select optimization by default for HP's C compiler.Tom Lane
2001-02-20Truncate incoming username and database name to NAMEDATALEN-1 charactersTom Lane
so that we don't reject overlength names unnecessarily.
2001-02-20Fix pg_passwd's failure to cope with usernames > 8 chars.Tom Lane
2001-02-20Remove inclusion of <varargs.h> on SunOS; this does not work since weTom Lane
use the ANSI varargs style (<stdarg.h>) not the old style. Tatsuo had reported this change was necessary back in the 7.0 beta cycle (4/13/00) but for some reason, making the edit never got done.
2001-02-19Change plpgsql's GET DIAGNOSTICS statement to use SQL99-compatibleTom Lane
syntax. Fix the RESULT_OID case, which never worked. Add documentation.
2001-02-19Synced gram.y and preproc.y.Michael Meskes
2001-02-18Add copyright mentions, per Tom Lane.Bruce Momjian
2001-02-18Allow extract() to accept the same field selectors as date_part(), not justPeter Eisentraut
the ones specified by SQL.
2001-02-18Add --template option to createdb script to allow access to WITH TEMPLATETom Lane
option of CREATE DATABASE. In pg_regress, create regression database from template0 to ensure that any installation-local cruft in template1 will not mess up the tests.
2001-02-18Change default commit_delay to zero, update documentation.Tom Lane
2001-02-18Change s_lock to not use any zero-delay select() calls; these are just aTom Lane
waste of cycles on single-CPU machines, and of dubious utility on multi-CPU machines too. Tweak s_lock_stuck so that caller can specify timeout interval, and increase interval before declaring stuck spinlock for buffer locks and XLOG locks. On systems that have fdatasync(), use that rather than fsync() to sync WAL log writes. Ensure that WAL file is entirely allocated during XLogFileInit.
2001-02-18Remove bogus set_ps_display call --- changing displayed status here isTom Lane
either wrong or unnecessary in most cases, and on systems where setting status takes a kernel call, the overhead of setting status three times per command rather than two is annoying.
2001-02-17Fix a bug in psql. unescape() does not work for multi-byte encodings.Tatsuo Ishii
2001-02-17Seems a bad idea to assume that select(2) doesn't touch the input masksTom Lane
if it returns EINTR.
2001-02-17Add current seek position to FDDEBUG output for FileRead,Tom Lane
FileWrite, FileSeek.
2001-02-16Just noticed that use of 'volatile' in HPPA S_UNLOCK() was causing gccTom Lane
to generate unnecessarily stupid code. Tweak macro to describe a series of store-constant ops, not store/load/store/load/store/load/store.
2001-02-16Defend against starting a non-MULTIBYTE-enabled backend in a databaseTom Lane
with encoding other than SQL_ASCII. Per recent discussion in pghackers.
2001-02-16Some more updates...Peter Mount
Fri Feb 17 15:11:00 GMT 2001 peter@retep.org.uk - Reduced the object overhead in PreparedStatement by reusing the same StringBuffer object throughout. Similarly SimpleDateStamp's are alse reused in a thread save manner. - Implemented in PreparedStatement: setNull(), setDate/Time/Timestamp using Calendar, setBlob(), setCharacterStream() - Clob's are now implemented in ResultSet & PreparedStatement! - Implemented a lot of DatabaseMetaData & ResultSetMetaData methods. We have about 18 unimplemented methods left in JDBC2 at the current time.
2001-02-16ichar() has been renamed to chr(), so fix translation table.Tom Lane