[HACKERS] Re: WIP patch: Improve relation size functions such as pg_relation_size() to avoid producing an error when called against a no longer visible relation

2012-01-19 Thread Heikki Linnakangas
On 23.12.2011 02:01, Phil Sorber wrote: On Thu, Dec 22, 2011 at 3:19 PM, Robert Haas wrote: On Thu, Dec 22, 2011 at 2:02 PM, Phil Sorber wrote: On Thu, Dec 22, 2011 at 1:33 PM, Tom Lane wrote: Robert Haas writes: I'm wondering if we oughta just return NULL and be done with it. +1. Ther

[HACKERS] Re: WIP patch: Improve relation size functions such as pg_relation_size() to avoid producing an error when called against a no longer visible relation

2011-12-19 Thread Phil Sorber
On Mon, Dec 19, 2011 at 1:27 PM, Phil Sorber wrote: > On Sat, Dec 17, 2011 at 3:52 PM, Phil Sorber wrote: >> Attached is a patch that addresses the todo item "Improve relation >> size functions such as pg_relation_size() to avoid producing an error >> when called against a no longer visible relat

[HACKERS] Re: WIP patch: Improve relation size functions such as pg_relation_size() to avoid producing an error when called against a no longer visible relation

2011-12-19 Thread Phil Sorber
On Sat, Dec 17, 2011 at 3:52 PM, Phil Sorber wrote: > Attached is a patch that addresses the todo item "Improve relation > size functions such as pg_relation_size() to avoid producing an error > when called against a no longer visible relation." > > http://archives.postgresql.org/pgsql-general/201