summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-18Fixed but in _enableTriggersIfNecessary introduced by previous patches by mePhilip Warner
which caused segfault in a data-only retore with BLOBs
2001-03-18Fix coredump due to writing one more byte than we'd allocated.Tom Lane
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-16Fixed bug in handling of pointers to structs.Michael Meskes
2001-03-16Oops I forgot to add new files for multibyte support.Hiroshi Inoue
Sorry Eiji.
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-16Add multibyte support.Hiroshi Inoue
Provide an extenisible scheme of encoding conversion. As the first step, SJIS and BIG5 are supported. From now on multibyte people would be happy to use this psqlodbc driver. Eiji Tokuya e-tokuya@mail.sankyo-unyu.co.jp
2001-03-15Fix parameter handling.D'Arcy J.M. Cain
Fix a bug where cs.execute('select %d + %d', (1, 2)) would get interpreted as cs.executemany('select %d + %d', (1, 2))
2001-03-15Add WIN32 support.D'Arcy J.M. Cain
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-14A much better version of this is now in backend/port/aix.Peter Eisentraut
2001-03-14It's "gmake dist" now.Peter Eisentraut
2001-03-14For some ungodly reason my etags doesn't have an --output option, but itPeter Eisentraut
does have -o.
2001-03-14We're past Postgres95 now, and I'm sure Jolly doesn't want to receive anyPeter Eisentraut
bug reports. ;-)
2001-03-14We got automatic dependencies now.Peter Eisentraut
2001-03-14We're way past 6.3 ...Peter Eisentraut
2001-03-14Update. Things are now build through 'make'.Peter Eisentraut
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-14Move -Bsymbolic for HPUX to Makefile.hpux, per Peter E's recommendation.Tom Lane
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
2001-03-14New shutdown wording:Bruce Momjian
This connection has been terminated by the administrator
2001-03-14Fix some memory leaks.Hiroshi Inoue
2001-03-14ifdef out reindex stuff in VACUUM for safety.Hiroshi Inoue
2001-03-13Provide more useful error message if 'postgres -V' failed. AdvertisePeter Eisentraut
pg_ctl '-l' option.
2001-03-13Change xlog page-header format to include StartUpID. Use the SUI toTom Lane
detect case that next page in log came from an older run than the prior page. This avoids the necessity to re-zero the log after recovery from a crash, which is good because we need not risk destroying valuable log information. This forces another initdb since yesterday :-(. Need to get that log reset utility done...
2001-03-13- Use subselect when enabling triggers,Philip Warner
- Use exact table names when enabling/disabling triggers
2001-03-13The attached file contains the registry settings required to install theHiroshi Inoue
ODBC driver on Windows 9X/ME/NT/2K when using the later versions of the driver that don't have the Installshield installation: 1) Install psqlodbc.dll in to C:\Windows\System or C:\Winnt\System32 2) Add the registry settings in the attached file using regedit. A useful addition to src/interfaces/odbc perhaps? Regards, Dave.
2001-03-13XLOG (and related) changes:Tom Lane
* Store two past checkpoint locations, not just one, in pg_control. On startup, we fall back to the older checkpoint if the newer one is unreadable. Also, a physical copy of the newest checkpoint record is kept in pg_control for possible use in disaster recovery (ie, complete loss of pg_xlog). Also add a version number for pg_control itself. Remove archdir from pg_control; it ought to be a GUC parameter, not a special case (not that it's implemented yet anyway). * Suppress successive checkpoint records when nothing has been entered in the WAL log since the last one. This is not so much to avoid I/O as to make it actually useful to keep track of the last two checkpoints. If the things are right next to each other then there's not a lot of redundancy gained... * Change CRC scheme to a true 64-bit CRC, not a pair of 32-bit CRCs on alternate bytes. Polynomial borrowed from ECMA DLT1 standard. * Fix XLOG record length handling so that it will work at BLCKSZ = 32k. * Change XID allocation to work more like OID allocation. (This is of dubious necessity, but I think it's a good idea anyway.) * Fix a number of minor bugs, such as off-by-one logic for XLOG file wraparound at the 4 gig mark. * Add documentation and clean up some coding infelicities; move file format declarations out to include files where planned contrib utilities can get at them. * Checkpoint will now occur every CHECKPOINT_SEGMENTS log segments or every CHECKPOINT_TIMEOUT seconds, whichever comes first. It is also possible to force a checkpoint by sending SIGUSR1 to the postmaster (undocumented feature...) * Defend against kill -9 postmaster by storing shmem block's key and ID in postmaster.pid lockfile, and checking at startup to ensure that no processes are still connected to old shmem block (if it still exists). * Switch backends to accept SIGQUIT rather than SIGUSR1 for emergency stop, for symmetry with postmaster and xlog utilities. Clean up signal handling in bootstrap.c so that xlog utilities launched by postmaster will react to signals better. * Standalone bootstrap now grabs lockfile in target directory, as added insurance against running it in parallel with live postmaster.
2001-03-12Avoid O(N^2) behavior in deferredTriggerAddEvent() for large numbers ofTom Lane
tuples inserted/deleted/updated in a single transaction. On my machine, this reduced the time to delete 80000 tuples in a foreign-key-referencing table from ~15min to ~8sec.
2001-03-11Add uninstall target to Java build.Peter Eisentraut
Respect default port setting in JDBC driver. Pick up version number from Makefile.global. Change installation directory to share/java/. Document.
2001-03-10Turns out the HPUX linker likes -Bsymbolic too. Without this, ODBCTom Lane
driver does not work because its internal cross-references get bound to similarly named functions in unixODBC shared library.
2001-03-10Provide a hack to let initialization happen on platforms for whichTom Lane
psqlodbc.c's constructor-making techniques do not work.
2001-03-10Do not accept values from sections following the specified section.Tom Lane
2001-03-10Use install-sh unconditionally.Peter Eisentraut
2001-03-10FATAL errors should cause exit with nonzero status if we are not runningTom Lane
under the postmaster --- specifically, if we are a standalone backend running under the initdb script, this is critical!
2001-03-101)Allow the access to indexes with up to 16 keys.Hiroshi Inoue
2)Fix some memory leaks. 3)Change some bogus error messages.
2001-03-09Don't choke on superuser names containing random punctuation.Tom Lane
2001-03-09Recursive distclean shouldn't depend on recursive clean. SubdirectoriesPeter Eisentraut
handle this.
2001-03-09hold interupts during LockWaitCancel().Hiroshi Inoue
2001-03-08A subplan invoked within an aggregate function's argument shouldTom Lane
be allowed to receive ungrouped variables of the current query level. Curious that no one reported this bug before...