Re: pg_restore --multi-thread
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers@postgresql.org
Date: 2009-02-12T16:32:40Z
Lists: 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