[email protected] (Greg Stark) writes:
> Oops, don't forget to rewind the directory before scanning it to fsync files 
> in CREATE DATABASE

This is certainly not right:

+       AllocateDir(fromdir);
        if (xldir == NULL)
                ereport(ERROR,

There's no guarantee AllocateDir will hand back the same pointer as
it did the previous time.

                        regards, tom lane

-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to