Re: Fix race condition in size functions

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix race condition in size functions
Date: 2007-03-20 16:39:14
Message-ID: 200703201639.l2KGdEH25070@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied by Alvaro.

---------------------------------------------------------------------------

Michael Fuhr wrote:
> Fix a race condition that caused pg_database_size() and pg_tablespace_size()
> to fail if an object was removed between calls to ReadDir() and stat().
> Per discussion in pgsql-hackers.
>
> http://archives.postgresql.org/pgsql-hackers/2007-03/msg00671.php
>
> --
> Michael Fuhr

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-03-20 17:47:36 Re: pgbench on mingw needs fflush
Previous Message Tom Lane 2007-03-20 16:12:45 Re: Win32 shmem