Skip site navigation (1) Skip section navigation (2)

Re: drop tablespace error: invalid argument

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Otto <asche(at)me(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: drop tablespace error: invalid argument
Date: 2009-08-30 16:24:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Jan Otto <asche(at)me(dot)com> writes:
> The bug in readdir() appeared in the final snow leopard too. Anybody
> with Snow Leopard installed can check this, with simply doing the
> regression tests (make check). The tablespace regression test is
> failing.

> The patch i sent in works around the issue. if it is not acceptable to
> reread the tablespace-directory after every delete i can rewrite the
> workaround.  Probably it is preferred that we write all entries of the
> directory into an array and looping through that array after that
> instead of looping with ReadDir()?

I'm not really eager to put in a workaround for such a basic OS bug,
especially not when the odds are good that it'll be fixed in 10.6.1.
Let's wait a little bit for Apple to get their act together.

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2009-08-30 16:29:16
Subject: Re: clang's static checker report.
Previous:From: Tom LaneDate: 2009-08-30 16:09:48
Subject: Re: PQexecPrepared() behavior

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group