aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Tweak plperl.c to compile against threaded Perls, per report fromTom Lane2002-01-24
| | | | cturner@redhat.com.
* pltcl's spi_execp didn't handle NULL arguments quite correctly.Tom Lane2002-01-24
| | | | | It would try to call the input conversion routines for them anyway. So, a valid input string for the datatype had to be supplied.
* Fix incorrect test for whether Perl code is returning undef. ThisTom Lane2002-01-24
| | | | allows plperl routines to return NULL as intended.
* Fix logic error in insert_fsm_page_entry: because compact_fsm_page_listTom Lane2002-01-24
| | | | | | | removes any empty chunks, the chunk previously added won't be there anymore, so it's possible there is zero free space in the rel's page list afterwards. Must loop back and rerun the part that adds a chunk to the list.
* Remove long-obsolete version of pltcl documentation.Tom Lane2002-01-23
|
* Clean up Red Hat Tcl RPM brain-damage in a more reliable way: fix theTom Lane2002-01-23
| | | | | value of TCL_SHLIB_LD in the shell script that creates Makefile.tcldefs, rather than trying to persude gmake to do it.
* Added patch to temporarily disable locale for descriptors too (Christof)Michael Meskes2002-01-23
|
* libpq++/pgconnection.h must not include postgres_fe.h, else it fails toTom Lane2002-01-22
| | | | | | compile in client apps that use the standard installed header set. To allow removing that include, move DLLIMPORT definitions out of c.h and into the appropriate port-specific header files.
* Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh.Tom Lane2002-01-21
|
* Add IN/EXISTS file.Bruce Momjian2002-01-20
|
* Update from Kova'cs Zolta'nPeter Eisentraut2002-01-18
|
* You might want to run pg_indent on pg_backup_db.c however ...Bruce Momjian2002-01-18
| | | | tom lane
* Fixes to getImportedKeys/getExportedKeys from Jason DaviesDave Cramer2002-01-18
| | | | Previous versions did not correctly identify primary/foreign keys
* Fix pg_restore to handle the 'set max oid' entry correctly in archivesTom Lane2002-01-18
| | | | | dumped by pg_dump -o. Per bug report posted by Bruce; fix is from Philip Warner, reviewed by Tom Lane.
* Add missing 'else', per report from sugita@sra.co.jp.Tom Lane2002-01-18
|
* Accept subsequent commits. This should have been just a warning anyway. IMichael Meskes2002-01-18
| | | | cannot see a reason why it should be an error.
* Fix misstatements added by Bruce.Tom Lane2002-01-16
|
* Add more comments to tqual.c for visibility functions.Bruce Momjian2002-01-16
|
* TOAST needs to do at least minimal time-qual checking in order not toTom Lane2002-01-16
| | | | | | | | | | | mess up after an aborted VACUUM FULL, per today's pghackers discussion. Add a suitable HeapTupleSatisfiesToast routine. Remove useless special- case test in HeapTupleSatisfiesVisibility macro for xmax = BootstrapTransactionId; perhaps that was needed at one time, but it's a waste of cycles now, not to mention actively wrong for SnapshotAny. Along the way, add some much-needed comments to tqual.c, and simplify toast_fetch_datum, which no longer needs to assume it may see chunks out-of-order.
* Fix init_irels to close the pg_internal.init file before returning.Tom Lane2002-01-16
| | | | | | This saves one open file descriptor per backend, and avoids an annoying NOTICE on Cygwin (which has trouble deleting open files). Bug appears to date back to original coding of init_irels, circa 1992.
* If we fail to rename pg_internal.init into place, delete the uselessTom Lane2002-01-15
| | | | | temporary file. This seems to be a known failure mode under Cygwin, so we might as well expend the extra line of code to be tidy.
* Add more sanity-checking to PageAddItem and PageIndexTupleDelete,Tom Lane2002-01-15
| | | | | | | to prevent spreading of corruption when page header pointers are bad. Merge PageZero into PageInit, since it was never used separately, and remove separate memset calls used at most other PageInit call points. Remove IndexPageCleanup, which wasn't used at all.
* Fix typo that caused equalTriggerDescs() to return false in cases whereTom Lane2002-01-15
| | | | | the two trigger sets were logically equal, but not in the same order. Caught by Holger Krug (hkrug@rationalizer.com).
* Applied patch submitted by Ryouichi Matsuda (r-matuda@sra.co.jp) that fixed ↵Barry Lind2002-01-15
| | | | a problem with leading zeros being lost on fractional seconds when setting a timestamp value on a PreparedStatement.
* Applied patch from Ryouichi Matsuda <r-matuda@sra.co.jp> where the jdbcBarry Lind2002-01-15
| | | | | driver was not properly handling timestamptz datatype when using the getObject() method on ResultSet. Fix adds this datatype to the object mappings.
* pg_upgrade doesn't live here anymore. Remove dangling references.Tom Lane2002-01-15
|
* Remove old pg_upgrade script, from Tom.Bruce Momjian2002-01-15
|
* Reduce severity of 'XLogFlush: request is not satisfied' error condition,Tom Lane2002-01-14
| | | | | | per my proposal of a couple days ago. This will eliminate the unable- to-restart-database class of problem that we have seen reported half a dozen times with 7.1.*.
* Ensure that ecpg/test is cleaned by higher-level 'make clean'.Tom Lane2002-01-14
|
* Small AIX fixes from Rick Flower.Bruce Momjian2002-01-14
|
* Fix recreation of sequence files for 7.2 also because of XID change fromBruce Momjian2002-01-13
| | | | beta4 to beta5.
* - Fixed variable handling for struct members.Michael Meskes2002-01-13
| | | | | - Removed check for array input. An attribut might store the complete array.
* Now works for 7.1 databases.Bruce Momjian2002-01-13
|
* Now tested on 7.2->7.2 migration; still disabled. Need 7.1 testing now.Bruce Momjian2002-01-13
|
* Keep it disabled.Bruce Momjian2002-01-13
|
* Wow, it actually worked for the regression database. More testing needed.Bruce Momjian2002-01-13
|
* Bump catversion to ensure people apply recent timestamp and sequenceTom Lane2002-01-12
| | | | fixes.
* Update horology expected results (this variant extrapolated by yoursTom Lane2002-01-12
| | | | truly; should be verified by someone with an appropriate system).
* Update horology expected results (this variant verified on HPUX).Tom Lane2002-01-12
|
* Repair bugs in declarations of routines to add timestamptz and interval.Thomas G. Lockhart2002-01-12
| | | | | | | | | Thanks to Bruce for spotting it and Tom Lane for diagnosing it. Since horology test output is changing anyway, add some date/time input tests to horology.sql. Some of these should move to the tests for the individual data types, and we perhaps should add an entire new test for "timezone" to allow manipulating the current time zone without risking damage to the results of other tests.
* Fix pg_dump to read-lock all tables to be dumped as soon as it's readTom Lane2002-01-11
| | | | | | | their names from pg_class. This considerably reduces the window wherein someone could DROP or ALTER a table that pg_dump is intending to dump. Not a perfect solution, but definitely an improvement. Per complaints from Marc Fournier; patch by Brent Verner with some kibitzing by Tom Lane.
* Sync up.Bruce Momjian2002-01-11
|
* VACUUM must make sure that a HEAP_MARKED_FOR_UPDATE tuple gets markedTom Lane2002-01-11
| | | | | | | | as either HEAP_XMAX_COMMITTED or HEAP_XMAX_INVALID once the updating transaction is gone. Otherwise some other transaction may come along and try to test the commit status of t_xmax later --- which could be after VACUUM has recycled the CLOG status for that xact. Bug introduced in post-beta4 bug fix.
* Fix sequence creation to set the t_xmin of a sequence's tuple toTom Lane2002-01-11
| | | | | | | | | | | | FrozenTransactionId, not the XID of the creating transaction. Without this it's possible for a reference to a long-gone CLOG record to occur, per Christian Meunier's bug report of 10-Jan-02. Worse, the sequence tuple would become invisible to SELECTs after 2 billion transactions. Since the fix is applied during sequence creation it does not help existing databases, unless you drop and recreate every sequence. However, we intend to force initdb for 7.2RC1 anyway, to fix a pg_proc error, so I see no need to do more for this problem.
* Added Christof's fixes.Michael Meskes2002-01-11
|
* More testing, more cleanups.Bruce Momjian2002-01-11
|
* pg_resetxlog specifies log location in hex; more pg_upgrade testingBruce Momjian2002-01-11
| | | | improvments.
* More cleanups.Bruce Momjian2002-01-11
|
* *** empty log message ***Hiroshi Inoue2002-01-11
|
* More updates for int8 sequence restoration. Old dump file not requiredBruce Momjian2002-01-11
| | | | anymore.