Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: [HACKERS] [...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3639 of 3869
Post > Topic >>

Re: [HACKERS] [DOCS] pg_total_relation_size() and CHECKPOINT

by magnus@[EMAIL PROTECTED] (Magnus Hagander) Apr 29, 2008 at 02:53 PM

I already applied a different patch for this quite some time ago. So 
what's in HEAD (and current in 8.3 and 8.2) should be fixed already.

//Magnus

Zubkovsky, Sergey wrote:
> Hi,
> 
> Here is the patch.
> Check it, please.
> 
> Locations of the added files:
>   src\include\****t\win32_msvc\sys\stat.inl
>   src\****t\stat_pg_fixed.c
> 
> 
> Thank you.
> 
> 
> -----Original Message-----
> From: Andrew Dunstan [mailto:andrew@[EMAIL PROTECTED]
 
> Sent: Saturday, March 29, 2008 4:18 PM
> To: Zubkovsky, Sergey
> Cc: Tom Lane; Alvaro Herrera; Gregory Stark;
> pgsql-hackers@[EMAIL PROTECTED]
 Magnus Hagander
> Subject: Re: [HACKERS] [DOCS] pg_total_relation_size() and CHECKPOINT
> 
> 
> 
> 
> Zubkovsky, Sergey wrote:
>> In the prepared custom build of PG 8.3.1 the native MSVC's stat() was
> rewrote by adding GetFileAttribute***() to correct stat's st_size value.
>> I had seen that a result of MSVC's stat() and a result of
> GetFileAttribute***() may be differ by the file size values at least.
>> The most im****tant 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


-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
 




 1 Posts in Topic:
Re: [HACKERS] [DOCS] pg_total_relation_size() and CHECKPOINT
magnus@[EMAIL PROTECTED]   2008-04-29 14:53:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 18:43:09 CDT 2008.