From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix parallel pg_restore to handle comments on POST_DATA items co |
Date: | 2011-02-18 18:12:04 |
Message-ID: | E1PqUoG-0000z3-Ob@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix parallel pg_restore to handle comments on POST_DATA items correctly.
The previous coding would try to process all SECTION_NONE items in the
initial sequential-restore pass, which failed if they were dependencies of
not-yet-restored items. Fix by postponing such items into the parallel
processing pass once we have skipped any non-PRE_DATA item.
Back-patch into 9.0; the original parallel-restore coding in 8.4 did not
have this bug, so no need to change it.
Report and diagnosis by Arnd Hannemann.
Branch
------
REL9_0_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/b22e2d6b0254e480f7ffa83ba17cd7a9e4cace98
Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 65 ++++++++++++++++++++++++++--------
1 files changed, 50 insertions(+), 15 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2011-02-18 18:22:37 | Re: pgsql: Separate messages for standby replies and hot standby feedback. |
Previous Message | Robert Haas | 2011-02-18 17:03:11 | Re: Re: [COMMITTERS] pgsql: Make a hard state change from catchup to streaming mode. |