Skip site navigation (1) Skip section navigation (2)

Re: Small fix for inv_getsize

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Denis Perchine <dyp(at)perchine(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Small fix for inv_getsize
Date: 2000-11-02 19:19:02
Message-ID: 26386.973192742@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Denis Perchine <dyp(at)perchine(dot)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

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2000-11-02 20:35:57
Subject: Re: Small fix for inv_getsize
Previous:From: Denis PerchineDate: 2000-11-02 18:29:28
Subject: Re: Small fix for inv_getsize

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group