Re: parallel restore - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: parallel restore
Date
Msg-id 20090104181147.GA26552@alvh.no-ip.org
Whole thread Raw
In response to parallel restore  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan wrote:
>
> Attached is the latest parallel restore patch. I think this is getting  
> fairly close.

Some random comments

- please #define the return type of prestore().  Also, that it returns
in one platform and exits in another seems weird as an API.  I think it
should return in both cases, and have the caller act appropriately.

- RestoreArchiveParallel has too many #ifdef WIN32.  It should be
possible to split it so that the cruft is contained better.

- Aren't there too many checks for libz presence?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_stats queries versus per-database encodings
Next
From: Martin Pihlak
Date:
Subject: Re: dblink vs SQL/MED