| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | parallel restore fixes |
| Date: | 2009-03-09 23:09:05 |
| Message-ID: | 49B5A191.1000209@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The attached patch fixes two issues with parallel restore:
* the static buffer problem in dumputils.c::fmtId() on Windows
(solution: use thread-local storage)
* ReopenPtr() is called too often
There is one remaining bug I know of that I can reproduce: we can get
into deadlock when two tables are foreign keyed to each other. So I need
to get a bit more paranoid about dependencies.
I can't reproduce Olivier Prennant's file closing problem on Unixware.
Is it still happening after application of this patch?
cheers
andrew
| Attachment | Content-Type | Size |
|---|---|---|
| parallel_fix.patch | text/x-patch | 5.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hannu Krosing | 2009-03-09 23:09:15 | Re: Updates of SE-PostgreSQL 8.4devel patches (r1704) |
| Previous Message | Tom Lane | 2009-03-09 20:39:24 | Re: Updates of SE-PostgreSQL 8.4devel patches (r1704) |