Re: parallel restore fixes
| От | Tom Lane |
|---|---|
| Тема | Re: parallel restore fixes |
| Дата | |
| Msg-id | 18107.1236642634@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: parallel restore fixes (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: parallel restore fixes
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Hmm, if pg_restore is the only program that's threaded, why are you
> calling init_dump_utils on pg_dump and pg_dumpall?
... because fmtId will crash on *any* use without that.
> It makes me a bit
> nervous because there are some other programs that are linking
> dumputils.c (psql and some in src/bin/scripts/) and even calling fmtId.
Actually, why bother with init_dump_utils at all? fmtId could be made
to initialize the ID variable for itself on first call, with only one
extra if-test, which is hardly gonna matter.
regards, tom lane
В списке pgsql-hackers по дате отправления: