Re: Use heap scan routines directly in vac_update_datfrozenxid() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Use heap scan routines directly in vac_update_datfrozenxid()
Date
Msg-id 1505295.1728250854@sss.pgh.pa.us
Whole thread Raw
Responses Re: Use heap scan routines directly in vac_update_datfrozenxid()
List pgsql-hackers
Soumyadeep Chakraborty <soumyadeep2007@gmail.com> writes:
> Attached is a simple patch to directly use heap scan routines in
> vac_update_datfrozenxid(), avoiding the multilayer overhead from the
> sysscan infrastructure.

I would think the overhead of that is minuscule.  If it isn't,
we should try to make it so, not randomly hack up some of the callers
to avoid it.  The intention certainly was that it wouldn't cost
anything compared to what happens within the actual table access.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: System views for versions reporting
Next
From: Alena Rybakina
Date:
Subject: Re: Add parallel columns for seq scan and index scan on pg_stat_all_tables and _indexes