Re: [DOCS] pg_total_relation_size() and CHECKPOINT

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Zubkovsky, Sergey" <Sergey(dot)Zubkovsky(at)transas(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Gregory Stark <stark(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: [DOCS] pg_total_relation_size() and CHECKPOINT
Date: 2008-03-29 13:18:22
Message-ID: 47EE419E.4070505@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Zubkovsky, Sergey wrote:
>
> In the prepared custom build of PG 8.3.1 the native MSVC's stat() was rewrote by adding GetFileAttributesEx() to correct stat's st_size value.
> I had seen that a result of MSVC's stat() and a result of GetFileAttributesEx() may be differ by the file size values at least.
>
> The most important thing is the test in the original post
> ( http://archives.postgresql.org/pgsql-docs/2008-03/msg00041.php )
> doesn't reproduce any inconsistence now.
> All work fine.
>
> This was tested on my WinXP SP2 platform but I suppose it will work on any NT-based OS.
>
>
>

If you have a patch, please send it to the -patches list.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-03-29 16:19:53 Re: [PATCHES] Implemented current_query
Previous Message tomas 2008-03-29 12:25:21 Re: [PATCHES] Avahi support for Postgresql

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-03-29 16:19:53 Re: [PATCHES] Implemented current_query
Previous Message Andrew Dunstan 2008-03-29 13:09:00 Re: create language ... if not exists