aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* - Added CVS headers to filesPhilip Warner2001-03-19
| | | | | | | - Avoid forcing table name to lower case in FixupBlobXrefs - Removed fmtId calls for all ArchiveEntry name fields. This fixes quoting problems in trigger enable/disable code for mixed case table names, and avoids commands like 'pg_restore -t '"TblA"'
* Give postmaster enough time to update the pidfile before checking toTom Lane2001-03-18
| | | | | see if it's been updated. Skip the whole mess if we didn't see any old pidfile.
* Remove NEXTXID xlog record type to avoid three-way deadlock risk.Tom Lane2001-03-18
| | | | | NEXTXID isn't really necessary, per previous discussion in pghackers, but I mulishy insisted we should put it in anyway. Mea culpa.
* When we add 'waiting' to the ps_status display, there should be aTom Lane2001-03-18
| | | | space in front of it. Improve comments a little.
* Considering the BeOS port didn't compile without IPC_STAT and shm_nattch,Tom Lane2001-03-18
| | | | I'm betting the QNX4 port does not either ...
* Patches from Cyril Velter to make shared-memory-conflict-detection codeTom Lane2001-03-18
| | | | work in BeOS port.
* Fixed but in _enableTriggersIfNecessary introduced by previous patches by mePhilip Warner2001-03-18
| | | | which caused segfault in a data-only retore with BLOBs
* Fix coredump due to writing one more byte than we'd allocated.Tom Lane2001-03-18
|
* Make sure ControlFile logId/logSeg don't go backwards (barely possible given aTom Lane2001-03-18
| | | | slow backend, if we update unconditionally as the code did before).
* Rearrange XLogFileInit so that control-file spinlock is not held while fillingTom Lane2001-03-17
| | | | | the new log file with zeroes, only while renaming it into place. This should prevent problems with 'stuck spinlock' errors under heavy load.
* Fixed bug in handling of pointers to structs.Michael Meskes2001-03-16
|
* Oops I forgot to add new files for multibyte support.Hiroshi Inoue2001-03-16
| | | | Sorry Eiji.
* Support syncing WAL log to disk using either fsync(), fdatasync(),Tom Lane2001-03-16
| | | | | | | | 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.
* Add multibyte support.Hiroshi Inoue2001-03-16
| | | | | | | | | 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
* Fix parameter handling.D'Arcy J.M. Cain2001-03-15
| | | | | Fix a bug where cs.execute('select %d + %d', (1, 2)) would get interpreted as cs.executemany('select %d + %d', (1, 2))
* Add WIN32 support.D'Arcy J.M. Cain2001-03-15
|
* Give a more reasonable error message for a bad attribute name appliedTom Lane2001-03-14
| | | | to a join or subselect alias ... cf. Oliver Elphick's complaint 13-Mar.
* Reduce amount of memory used per tuple for after-event triggers. ThisTom Lane2001-03-14
| | | | is still a memory leak, but a little less bad than it was.
* COPY should handle after-insert triggers the same as execMain.c does.Tom Lane2001-03-14
| | | | | | 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.
* A much better version of this is now in backend/port/aix.Peter Eisentraut2001-03-14
|
* It's "gmake dist" now.Peter Eisentraut2001-03-14
|
* For some ungodly reason my etags doesn't have an --output option, but itPeter Eisentraut2001-03-14
| | | | does have -o.
* We're past Postgres95 now, and I'm sure Jolly doesn't want to receive anyPeter Eisentraut2001-03-14
| | | | bug reports. ;-)
* We got automatic dependencies now.Peter Eisentraut2001-03-14
|
* We're way past 6.3 ...Peter Eisentraut2001-03-14
|
* Update. Things are now build through 'make'.Peter Eisentraut2001-03-14
|
* Use SEP_CHAR consistently in forming XLOG pathnames.Tom Lane2001-03-14
|
* Remove obsolete PowerPC-specific hack for comparisons to DBL_MINTom Lane2001-03-14
| | | | | (per recent discussion with Tatsuo). Hopefully the compilers with that old bug are all long gone.
* Move -Bsymbolic for HPUX to Makefile.hpux, per Peter E's recommendation.Tom Lane2001-03-14
|
* 'waiting' status display had extra space, removed.Bruce Momjian2001-03-14
| | | | Change the administrator to 'an' administrator.
* Don't go belly-up if fork() fails for a routine checkpoint subprocess.Tom Lane2001-03-14
| | | | Just try again later.
* Fix numeric modulo operator for case of fractional right argument.Tom Lane2001-03-14
|
* New shutdown wording:Bruce Momjian2001-03-14
| | | | This connection has been terminated by the administrator
* Fix some memory leaks.Hiroshi Inoue2001-03-14
|
* ifdef out reindex stuff in VACUUM for safety.Hiroshi Inoue2001-03-14
|
* Provide more useful error message if 'postgres -V' failed. AdvertisePeter Eisentraut2001-03-13
| | | | pg_ctl '-l' option.
* Change xlog page-header format to include StartUpID. Use the SUI toTom Lane2001-03-13
| | | | | | | | | 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...
* - Use subselect when enabling triggers,Philip Warner2001-03-13
| | | | - Use exact table names when enabling/disabling triggers
* The attached file contains the registry settings required to install theHiroshi Inoue2001-03-13
| | | | | | | | | | | | 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.
* XLOG (and related) changes:Tom Lane2001-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Avoid O(N^2) behavior in deferredTriggerAddEvent() for large numbers ofTom Lane2001-03-12
| | | | | | 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.
* Add uninstall target to Java build.Peter Eisentraut2001-03-11
| | | | | | | Respect default port setting in JDBC driver. Pick up version number from Makefile.global. Change installation directory to share/java/. Document.
* Turns out the HPUX linker likes -Bsymbolic too. Without this, ODBCTom Lane2001-03-10
| | | | | driver does not work because its internal cross-references get bound to similarly named functions in unixODBC shared library.
* Provide a hack to let initialization happen on platforms for whichTom Lane2001-03-10
| | | | psqlodbc.c's constructor-making techniques do not work.
* Do not accept values from sections following the specified section.Tom Lane2001-03-10
|
* Use install-sh unconditionally.Peter Eisentraut2001-03-10
|
* FATAL errors should cause exit with nonzero status if we are not runningTom Lane2001-03-10
| | | | | under the postmaster --- specifically, if we are a standalone backend running under the initdb script, this is critical!
* 1)Allow the access to indexes with up to 16 keys.Hiroshi Inoue2001-03-10
| | | | | 2)Fix some memory leaks. 3)Change some bogus error messages.
* Don't choke on superuser names containing random punctuation.Tom Lane2001-03-09
|
* Recursive distclean shouldn't depend on recursive clean. SubdirectoriesPeter Eisentraut2001-03-09
| | | | handle this.