Re: pg_relation_size locking - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: pg_relation_size locking
Date
Msg-id [email protected]
Whole thread Raw
In response to pg_relation_size locking  (Andreas Pflug <[email protected]>)
Responses Re: pg_relation_size locking
List pgsql-hackers
Alvaro Herrera wrote:
> 
> The problem with the original coding was that it used the table Oid to
> look up the file name, which is wrong.  (Test it with a table that has
> been clustered or an index that has been reindexed.)

Um, can't test at the moment. The oldcode used pg_class->relfilnode, 
which delivers "Name of the on-disk file of this relation" according to 
the docs. What's wrong with that?

regards,
Andreas


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: default resource limits
Next
From: Qingqing Zhou
Date:
Subject: Which qsort is used