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

From Tom Lane
Subject Re: Small fix for inv_getsize
Date
Msg-id 26181.973189481@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:
> OK. I see... I just wondering whether it is possible to use index to get the
> maximum...

I think you are right, it's possible to do it that way.  The original
code was broken because it didn't check tuple visibility, so I just
copied-and-pasted some other code without thinking very hard.  Feel
free to improve it.

            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