summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-01-18You might want to run pg_indent on pg_backup_db.c however ...Bruce Momjian
tom lane
2002-01-18Fixes to getImportedKeys/getExportedKeys from Jason DaviesDave Cramer
Previous versions did not correctly identify primary/foreign keys
2002-01-18Fix pg_restore to handle the 'set max oid' entry correctly in archivesTom Lane
dumped by pg_dump -o. Per bug report posted by Bruce; fix is from Philip Warner, reviewed by Tom Lane.
2002-01-18Add missing 'else', per report from sugita@sra.co.jp.Tom Lane
2002-01-18Accept subsequent commits. This should have been just a warning anyway. IMichael Meskes
cannot see a reason why it should be an error.
2002-01-16Fix misstatements added by Bruce.Tom Lane
2002-01-16Add more comments to tqual.c for visibility functions.Bruce Momjian
2002-01-16TOAST needs to do at least minimal time-qual checking in order not toTom Lane
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.
2002-01-16Fix init_irels to close the pg_internal.init file before returning.Tom Lane
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.
2002-01-15If we fail to rename pg_internal.init into place, delete the uselessTom Lane
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.
2002-01-15Add more sanity-checking to PageAddItem and PageIndexTupleDelete,Tom Lane
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.
2002-01-15Fix typo that caused equalTriggerDescs() to return false in cases whereTom Lane
the two trigger sets were logically equal, but not in the same order. Caught by Holger Krug (hkrug@rationalizer.com).
2002-01-15Applied patch submitted by Ryouichi Matsuda (r-matuda@sra.co.jp) that fixed ↵Barry Lind
a problem with leading zeros being lost on fractional seconds when setting a timestamp value on a PreparedStatement.
2002-01-15Applied patch from Ryouichi Matsuda <r-matuda@sra.co.jp> where the jdbcBarry Lind
driver was not properly handling timestamptz datatype when using the getObject() method on ResultSet. Fix adds this datatype to the object mappings.
2002-01-15pg_upgrade doesn't live here anymore. Remove dangling references.Tom Lane
2002-01-15Remove old pg_upgrade script, from Tom.Bruce Momjian
2002-01-14Reduce severity of 'XLogFlush: request is not satisfied' error condition,Tom Lane
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.*.
2002-01-14Ensure that ecpg/test is cleaned by higher-level 'make clean'.Tom Lane
2002-01-14Small AIX fixes from Rick Flower.Bruce Momjian
2002-01-13Fix recreation of sequence files for 7.2 also because of XID change fromBruce Momjian
beta4 to beta5.
2002-01-13 - Fixed variable handling for struct members.Michael Meskes
- Removed check for array input. An attribut might store the complete array.
2002-01-13Now works for 7.1 databases.Bruce Momjian
2002-01-13Now tested on 7.2->7.2 migration; still disabled. Need 7.1 testing now.Bruce Momjian
2002-01-13Keep it disabled.Bruce Momjian
2002-01-13Wow, it actually worked for the regression database. More testing needed.Bruce Momjian
2002-01-12Bump catversion to ensure people apply recent timestamp and sequenceTom Lane
fixes.
2002-01-12Update horology expected results (this variant extrapolated by yoursTom Lane
truly; should be verified by someone with an appropriate system).
2002-01-12Update horology expected results (this variant verified on HPUX).Tom Lane
2002-01-12Repair bugs in declarations of routines to add timestamptz and interval.Thomas G. Lockhart
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.
2002-01-11Fix pg_dump to read-lock all tables to be dumped as soon as it's readTom Lane
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.
2002-01-11Sync up.Bruce Momjian
2002-01-11VACUUM must make sure that a HEAP_MARKED_FOR_UPDATE tuple gets markedTom Lane
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.
2002-01-11Fix sequence creation to set the t_xmin of a sequence's tuple toTom Lane
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.
2002-01-11Added Christof's fixes.Michael Meskes
2002-01-11More testing, more cleanups.Bruce Momjian
2002-01-11pg_resetxlog specifies log location in hex; more pg_upgrade testingBruce Momjian
improvments.
2002-01-11More cleanups.Bruce Momjian
2002-01-11*** empty log message ***Hiroshi Inoue
2002-01-11More updates for int8 sequence restoration. Old dump file not requiredBruce Momjian
anymore.
2002-01-11Handle int4-int8 sequence migration without full data dump.Bruce Momjian
2002-01-11Add a directory to save the changes until 7.3-tree is branched.Hiroshi Inoue
2002-01-11More improvements using pg_resetxlog. still disabled.Bruce Momjian
2002-01-10Include sqlca.h automatically.Michael Meskes
2002-01-10More pg_upgrade improvements. Almost done, except for max transactionBruce Momjian
setting.
2002-01-10More improvements; still disabled. (Don't panic.)Bruce Momjian
2002-01-10The result of getopt() should be compared to -1, not EOF, perTom Lane
pgsql-hackers discussion of this date.
2002-01-09Update with new features. Still disabled.Bruce Momjian
2002-01-09Fix use of 'char' to hold result of getc, per bug report forwarded byTom Lane
Oliver Elphick. A few other minor cleanups while at it.
2002-01-09Fix portability problem (result of getopt is int, not char).Tom Lane
2002-01-09Remove clog copy.Bruce Momjian