summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-01-30Add cast to suppress gcc warning on Darwin platform.Tom Lane
2002-01-29updatePeter Eisentraut
2002-01-29Make S/390 TAS spell __inline__ the same way as the other eight GCCTom Lane
inline routines do.
2002-01-26Updates from Serguei MokhovPeter Eisentraut
2002-01-25Tweak pg_dump to say GRANT ALL when appropriate, rather than enumeratingTom Lane
the individual privilege bits. I regard this as an important change for cross-version compatibility: without this, a 7.1 dump loaded into 7.2 is likely to be short a few privileges.
2002-01-24Tweak plperl.c to compile against threaded Perls, per report fromTom Lane
cturner@redhat.com.
2002-01-24pltcl's spi_execp didn't handle NULL arguments quite correctly.Tom Lane
It would try to call the input conversion routines for them anyway. So, a valid input string for the datatype had to be supplied.
2002-01-24Fix incorrect test for whether Perl code is returning undef. ThisTom Lane
allows plperl routines to return NULL as intended.
2002-01-24Fix logic error in insert_fsm_page_entry: because compact_fsm_page_listTom Lane
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.
2002-01-23Remove long-obsolete version of pltcl documentation.Tom Lane
2002-01-23Clean up Red Hat Tcl RPM brain-damage in a more reliable way: fix theTom Lane
value of TCL_SHLIB_LD in the shell script that creates Makefile.tcldefs, rather than trying to persude gmake to do it.
2002-01-23Added patch to temporarily disable locale for descriptors too (Christof)Michael Meskes
2002-01-22libpq++/pgconnection.h must not include postgres_fe.h, else it fails toTom Lane
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.
2002-01-21Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh.Tom Lane
2002-01-20Add IN/EXISTS file.Bruce Momjian
2002-01-18Update from Kova'cs Zolta'nPeter Eisentraut
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