Re: CommitFest Status Summary - 2010-02-14

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: CommitFest Status Summary - 2010-02-14
Дата
Msg-id 407d949e1002170426pde945dcx4571a5c682ebda9e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: CommitFest Status Summary - 2010-02-14  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Feb 17, 2010 at 6:39 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> * Faster CREATE DATABASE by delaying fsync.  This is really two
>> patches now, one of which is apparently to be backpatched.
>
> This one (both parts) seems to have crashed and burned on unexpected
> portability issues :-(.  Do we have any expectation of being able to
> fix it before alpha4?

The current status is that the patch is in HEAD but the one line
fsyncing the directory is #ifdef'd out.
The backpatched fsync of the directory is entirely reverted from early branches.

However I was just looking at the code and realized it has a file
descriptor leak if an error occurs re-opening the files to fsync them.
But then the same file descriptor leak is there if it has an error
opening the destination file so I guess this isn't a new bug.

--
greg


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tim Bunce
Дата:
Сообщение: Re: CommitFest Status Summary - 2010-02-14
Следующее
От: Tim Bunce
Дата:
Сообщение: Re: PostgreSQL::PLPerl::Call - Simple interface for calling SQL functions from PostgreSQL PL/Perl