Re: pg_total_relation_size() and CHECKPOINT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Zubkovsky, Sergey" <Sergey(dot)Zubkovsky(at)transas(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_total_relation_size() and CHECKPOINT
Date: 2008-03-14 16:19:20
Message-ID: 19332.1205511560@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

[ moved to -hackers --- see original thread here
http://archives.postgresql.org/pgsql-docs/2008-03/msg00039.php
]

"Zubkovsky, Sergey" <Sergey(dot)Zubkovsky(at)transas(dot)com> writes:
> Here is my example.

Hmm ... on my Fedora machine I get the same result (704512) in
all these cases, which is what I'd expect. (The exact value
could vary across platforms, of course.)

You said you were using the MinGW build --- maybe MinGW's version
of stat(2) isn't trustworthy?

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Zubkovsky, Sergey 2008-03-14 16:33:37 Re: [DOCS] pg_total_relation_size() and CHECKPOINT
Previous Message Zubkovsky, Sergey 2008-03-14 15:23:22 Re: pg_total_relation_size() and CHECKPOINT

Browse pgsql-hackers by date

  From Date Subject
Next Message Zubkovsky, Sergey 2008-03-14 16:33:37 Re: [DOCS] pg_total_relation_size() and CHECKPOINT
Previous Message Alvaro Herrera 2008-03-14 16:09:55 Re: PROC_VACUUM_FOR_WRAPAROUND doesn't work expectedly