Re: Small fix for inv_getsize - Mailing list pgsql-patches

From Tom Lane
Subject Re: Small fix for inv_getsize
Date
Msg-id 26386.973192742@sss.pgh.pa.us
Whole thread Raw
In response to Re: Small fix for inv_getsize  (Denis Perchine <dyp@perchine.com>)
Responses Re: Small fix for inv_getsize  (Denis Perchine <dyp@perchine.com>)
List pgsql-patches
Denis Perchine <dyp@perchine.com> writes:
> you wrote. Except VARATT_IS_EXTENDED check (is it neccessary, can I store
> data and be sure that it is not toasted? I do not like this for BLOBs).

Yes, it's necessary *and* appropriate.  LO data won't be moved off,
because pg_largeobject doesn't have a toast table (unless the user makes
one), but it can be compressed.

> All other seems the same... Please give me an example of this check...

The loop only has to loop till it finds a valid tuple.

            regards, tom lane

pgsql-patches by date:

Previous
From: Denis Perchine
Date:
Subject: Re: Small fix for inv_getsize
Next
From: Denis Perchine
Date:
Subject: Re: Small fix for inv_getsize