Commit Graph

12066 Commits

Author SHA1 Message Date
Tom Lane
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
Tom Lane
5c2d36c3dd Code review for latest changes. 2002-01-11 21:27:13 +00:00
Bruce Momjian
c6fdf8bcfc More man pages improvements; also needed to test sgml build. 2002-01-11 20:48:47 +00:00
Bruce Momjian
3bb77555b1 Sync up. 2002-01-11 20:34:14 +00:00
Tom Lane
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
Tom Lane
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
Michael Meskes
051a4f233f Added Christof's fixes. 2002-01-11 14:43:11 +00:00
Bruce Momjian
4e37786f2f More testing, more cleanups. 2002-01-11 06:48:41 +00:00
Bruce Momjian
37c9346ef2 pg_resetxlog specifies log location in hex; more pg_upgrade testing
improvments.
2002-01-11 06:33:01 +00:00
Bruce Momjian
ba3231a2a0 More cleanups. 2002-01-11 06:08:02 +00:00
Hiroshi Inoue
d91b445117 *** empty log message *** 2002-01-11 06:01:47 +00:00
Bruce Momjian
3b3b730728 More updates for int8 sequence restoration. Old dump file not required
anymore.
2002-01-11 05:54:59 +00:00
Bruce Momjian
6bd45e5264 Handle int4-int8 sequence migration without full data dump. 2002-01-11 04:39:19 +00:00
Hiroshi Inoue
f43b5de649 Add a directory to save the changes until 7.3-tree is branched. 2002-01-11 02:50:01 +00:00
Bruce Momjian
5370cd6b03 More improvements using pg_resetxlog. still disabled. 2002-01-11 00:27:42 +00:00
Bruce Momjian
9ab1872ef4 Have pg_resetxlog -n return zero exit status. 2002-01-10 23:46:13 +00:00
Bruce Momjian
8ae53160da Update FAQ. 2002-01-10 23:41:49 +00:00
Bruce Momjian
c309873680 Remove 7.1beta WAL handling from /contrib/pg_resetxlog. 2002-01-10 23:40:58 +00:00
Bruce Momjian
e6aa4584ca Update FAQ. 2002-01-10 23:35:20 +00:00
Bruce Momjian
b010afe0dd Update FAQ. 2002-01-10 23:35:19 +00:00
Bruce Momjian
d356ec9a01 Update FAQ. 2002-01-10 23:34:14 +00:00
Bruce Momjian
775a61009e Update FAQ. 2002-01-10 23:33:35 +00:00
Bruce Momjian
e8869056fa Update FAQ. 2002-01-10 23:32:11 +00:00
Bruce Momjian
e19d7b7b95 Update FAQ. 2002-01-10 23:07:07 +00:00
Bruce Momjian
4c0e9b5efc Add new -l flag to set checkpoint location for /contrib/pg_resetxlog. 2002-01-10 20:09:06 +00:00
Peter Eisentraut
0385ba1121 Temporary workaround for links within bibliography references fouling up
footnote count.
2002-01-10 18:22:44 +00:00
Bruce Momjian
872aad61ff Per Tom, do full reset on -x flag. 2002-01-10 18:08:29 +00:00
Bruce Momjian
f6e603cffa Add new -x XID option to /contrib/pg_resetxlog for future pg_upgrade use. 2002-01-10 17:51:52 +00:00
Michael Meskes
7955f98774 Include sqlca.h automatically. 2002-01-10 10:42:54 +00:00
Bruce Momjian
7a0672b7b1 More pg_upgrade improvements. Almost done, except for max transaction
setting.
2002-01-10 04:58:19 +00:00
Bruce Momjian
4d151d0b12 More improvements; still disabled. (Don't panic.) 2002-01-10 03:05:48 +00:00
Tom Lane
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
Tom Lane
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
Bruce Momjian
5461983d08 Update with new features. Still disabled. 2002-01-09 21:50:52 +00:00
Tom Lane
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
Tom Lane
8ff263f362 Fix portability problem (result of getopt is int, not char). 2002-01-09 18:21:46 +00:00
Bruce Momjian
bf6992b499 Remove clog copy. 2002-01-09 16:08:54 +00:00
Bruce Momjian
7dc2dc2677 Make improvements to pg_upgrade; is still disabled. 2002-01-09 16:00:46 +00:00
Bruce Momjian
5ac10980d7 Add quotes around $bindir. 2002-01-09 04:56:44 +00:00
Peter Eisentraut
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
Tom Lane
d079c419d2 Fix include paths for case of VPATH build. 2002-01-09 00:06:42 +00:00
Peter Eisentraut
c58d5d5fcb Adjust spelling of article titles to match the originals, add some links. 2002-01-08 23:50:37 +00:00
Tom Lane
5490c72a64 make install failed in VPATH build. 2002-01-08 23:40:02 +00:00
Tom Lane
a34f313223 Fix copy-and-paste mistake exposed by gcc warning. 2002-01-08 23:34:47 +00:00
Tom Lane
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
Peter Eisentraut
154ccb6040 Revert last change (CFLAGS+=-g). Probably was a mistake... 2002-01-08 20:41:28 +00:00
Bruce Momjian
aecd85d3a1 Update Lockhart's email address.
< * Thomas is Thomas Lockhart <lockhart@alumni.caltech.edu>
---
> * Thomas is Thomas Lockhart <lockhart@fourpalms.org>
2002-01-08 20:04:31 +00:00
Bruce Momjian
89e6ce1245 Update Thomas Lockhart's email address to lockhart@fourpalms.org. 2002-01-08 20:03:58 +00:00
Tom Lane
61dd8b6dc4 Remove shift/reduce conflicts introduced by last change. 2002-01-08 19:02:51 +00:00
Peter Eisentraut
9c9a72b807 Repair the GEQO bibliography. It was marked up all wrong. Move some of
the info to the main bibliography.
2002-01-08 18:03:26 +00:00