Re: pg_restore --multi-thread - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_restore --multi-thread
Date
Msg-id 11115.1234456360@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_restore --multi-thread  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pg_restore --multi-thread
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> The implementation is actually different across platforms: on Windows 
> the workers are genuine threads, while elsewhere they are forked 
> children in the same fashion as the backend (non-EXEC_BACKEND case). In 
> either case, the program will use up to NUM concurrent connections to 
> the server.

How about calling it --num-connections or something like that?  I agree
with Peter that "thread" is not the best terminology on platforms where
there is no threading involved.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: pg_migrator and handling dropped columns
Next
From: "Joshua D. Drake"
Date:
Subject: Re: pg_restore --multi-thread