aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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.
* hold interupts during LockWaitCancel().Hiroshi Inoue2001-03-09
|
* A subplan invoked within an aggregate function's argument shouldTom Lane2001-03-08
| | | | | be allowed to receive ungrouped variables of the current query level. Curious that no one reported this bug before...
* Modify wchar conversion routines to not fetch the next byte past the endTom Lane2001-03-08
| | | | | | | | | | | | | of a counted input string. Marinos Yannikos' recent crash report turns out to be due to applying pg_ascii2wchar_with_len to a TEXT object that is smack up against the end of memory. This is the second just-barely- reproducible bug report I have seen that traces to some bit of code fetching one more byte than it is allowed to. Let's be more careful out there, boys and girls. While at it, I changed the code to not risk a similar crash when there is a truncated multibyte character at the end of an input string. The output in this case might not be the most reasonable output possible; if anyone wants to improve it further, step right up...
* Repair a number of places that didn't bother to check whether PageAddItemTom Lane2001-03-07
| | | | | | | | | | succeeds or not. Revise rtree page split algorithm to take care about making a feasible split --- ie, will the incoming tuple actually fit? Failure to make a feasible split, combined with failure to notice the failure, account for Jim Stone's recent bug report. I suspect that hash and gist indices may have the same type of bug, but at least now we'll get error messages rather than silent failures if so. Also clean up rtree code to use Datum rather than char* where appropriate.
* > Applied. Thanks.Bruce Momjian2001-03-07
| | | | | | | | | | | One more :)) It's for improper function argumets for PLTCL_UNKNOWN_SUPPORT code I'm not an autoconf expert, but is it possible to enable unknown support in pltcl with configure option ? This support is really handy for real life usage of pl/tcl. seva@sevasoft.kiev.ua
* pltcl_loadmod has problems with big (>4k) modules because of missing incrBruce Momjian2001-03-07
| | | | | | in splitting code: seva@sevasoft.kiev.ua
* Believe $POSTGRES_LIB and $POSTGRES_INCLUDE only if they name actualTom Lane2001-03-06
| | | | directories, per suggestion from Robert Creager.
* Help message s/dump/restore/ (must have been copy&pasted from pg_dump).Peter Eisentraut2001-03-06
|
* Tue Mar 06 12:05:00 GMT 2001 peter@retep.org.ukPeter Mount2001-03-06
| | | | | - Removed org.postgresql.xa.Test from the JDBC EE driver as it's an old test class and prevented it from compiling.
* - Dump relevant parts of sequences only when doing schemaOnly & dataOnlyPhilip Warner2001-03-06
| | | | - Prevent double-dumping of sequences when dataOnly.