1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00
Commit Graph

12521 Commits

Author SHA1 Message Date
5b2ebe95e9 Wow, it actually worked for the regression database. More testing needed. 2002-01-13 01:13:59 +00:00
f5bbcfb0b2 Bump catversion to ensure people apply recent timestamp and sequence
fixes.
2002-01-12 18:09:04 +00:00
47503f954c Update horology expected results (this variant extrapolated by yours
truly; should be verified by someone with an appropriate system).
2002-01-12 18:07:34 +00:00
f171bd5219 Update horology expected results (this variant verified on HPUX). 2002-01-12 18:06:53 +00:00
192061e45b Repair bugs in declarations of routines to add timestamptz and interval.
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-12 04:38:38 +00:00
0e1a5075fd Fix pg_dump to read-lock all tables to be dumped as soon as it's read
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-11 23:21:55 +00:00
5c2d36c3dd Code review for latest changes. 2002-01-11 21:27:13 +00:00
c6fdf8bcfc More man pages improvements; also needed to test sgml build. 2002-01-11 20:48:47 +00:00
3bb77555b1 Sync up. 2002-01-11 20:34:14 +00:00
5ab0ad5c7e VACUUM must make sure that a HEAP_MARKED_FOR_UPDATE tuple gets marked
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-11 20:07:03 +00:00
eb5e8bae26 Fix sequence creation to set the t_xmin of a sequence's tuple to
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-11 18:16:04 +00:00
051a4f233f Added Christof's fixes. 2002-01-11 14:43:11 +00:00
4e37786f2f More testing, more cleanups. 2002-01-11 06:48:41 +00:00
37c9346ef2 pg_resetxlog specifies log location in hex; more pg_upgrade testing
improvments.
2002-01-11 06:33:01 +00:00
ba3231a2a0 More cleanups. 2002-01-11 06:08:02 +00:00
d91b445117 *** empty log message *** 2002-01-11 06:01:47 +00:00
3b3b730728 More updates for int8 sequence restoration. Old dump file not required
anymore.
2002-01-11 05:54:59 +00:00
6bd45e5264 Handle int4-int8 sequence migration without full data dump. 2002-01-11 04:39:19 +00:00
f43b5de649 Add a directory to save the changes until 7.3-tree is branched. 2002-01-11 02:50:01 +00:00
5370cd6b03 More improvements using pg_resetxlog. still disabled. 2002-01-11 00:27:42 +00:00
9ab1872ef4 Have pg_resetxlog -n return zero exit status. 2002-01-10 23:46:13 +00:00
8ae53160da Update FAQ. 2002-01-10 23:41:49 +00:00
c309873680 Remove 7.1beta WAL handling from /contrib/pg_resetxlog. 2002-01-10 23:40:58 +00:00
e6aa4584ca Update FAQ. 2002-01-10 23:35:20 +00:00
b010afe0dd Update FAQ. 2002-01-10 23:35:19 +00:00
d356ec9a01 Update FAQ. 2002-01-10 23:34:14 +00:00
775a61009e Update FAQ. 2002-01-10 23:33:35 +00:00
e8869056fa Update FAQ. 2002-01-10 23:32:11 +00:00
e19d7b7b95 Update FAQ. 2002-01-10 23:07:07 +00:00
4c0e9b5efc Add new -l flag to set checkpoint location for /contrib/pg_resetxlog. 2002-01-10 20:09:06 +00:00
0385ba1121 Temporary workaround for links within bibliography references fouling up
footnote count.
2002-01-10 18:22:44 +00:00
872aad61ff Per Tom, do full reset on -x flag. 2002-01-10 18:08:29 +00:00
f6e603cffa Add new -x XID option to /contrib/pg_resetxlog for future pg_upgrade use. 2002-01-10 17:51:52 +00:00
7955f98774 Include sqlca.h automatically. 2002-01-10 10:42:54 +00:00
7a0672b7b1 More pg_upgrade improvements. Almost done, except for max transaction
setting.
2002-01-10 04:58:19 +00:00
4d151d0b12 More improvements; still disabled. (Don't panic.) 2002-01-10 03:05:48 +00:00
92a2598f97 The result of getopt() should be compared to -1, not EOF, per
pgsql-hackers discussion of this date.
2002-01-10 01:11:45 +00:00
4d72af6cb3 Describe type casts under the heading of Value Expressions, and explain
the difference between a run-time type cast and casting a literal string
to a specific type.  Minor editorial work in same area.
2002-01-09 23:38:06 +00:00
5461983d08 Update with new features. Still disabled. 2002-01-09 21:50:52 +00:00
9facc585ad Fix use of 'char' to hold result of getc, per bug report forwarded by
Oliver Elphick.  A few other minor cleanups while at it.
2002-01-09 19:13:41 +00:00
8ff263f362 Fix portability problem (result of getopt is int, not char). 2002-01-09 18:21:46 +00:00
bf6992b499 Remove clog copy. 2002-01-09 16:08:54 +00:00
7dc2dc2677 Make improvements to pg_upgrade; is still disabled. 2002-01-09 16:00:46 +00:00
5ac10980d7 Add quotes around $bindir. 2002-01-09 04:56:44 +00:00
da1c1144e7 Make spelling of operating system names match official version closely.
And listing QNX 6 as both supported and unsupported is probably not helpful.
2002-01-09 00:52:38 +00:00
d079c419d2 Fix include paths for case of VPATH build. 2002-01-09 00:06:42 +00:00
c58d5d5fcb Adjust spelling of article titles to match the originals, add some links. 2002-01-08 23:50:37 +00:00
5490c72a64 make install failed in VPATH build. 2002-01-08 23:40:02 +00:00
a34f313223 Fix copy-and-paste mistake exposed by gcc warning. 2002-01-08 23:34:47 +00:00
bf2e5eedf0 In a VPATH build, resultmap must be one of the symlinked files, else
pg_regress doesn't see it and you don't get any port-specific
comparisons.
2002-01-08 21:00:30 +00:00