Filter:

Commits on January 11, 2002

Commits4 commits
0Author
4Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterFix 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.
0e1a5075
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadJan 11, 2002
CommitterCode review for latest changes.
5c2d36c3
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadJan 11, 2002
CommitterVACUUM 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.
5ab0ad5c
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadJan 11, 2002
CommitterFix 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.
eb5e8bae
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadJan 11, 2002