Re: Metadata about relation creation & full scans.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Subject: Re: Metadata about relation creation & full scans.
Date: 2017-03-22 14:14:14
Message-ID: 25097.1490192054@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> I propose that for each pg_class entry we start to keep the following
> additional metadata:
> - CATALOG_VERSION_NO at relation creation
> - PG_VERSION_NUM at relation creation
> - CATALOG_VERSION_NO at last full scan by vacuum
> - PG_VERSION_NUM at last full scan by vacuum

(1) It's very very hard for me to believe that we need *two* versions of
the version number. Pick one.

(2) How you gonna update this in vacuum? It cannot do a transactional
update.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message João Miguel Afonso 2017-03-22 14:16:55 Re: [GSoC] Personal presentation and request for clarification
Previous Message Alvaro Herrera 2017-03-22 14:13:05 Re: Re: [COMMITTERS] pgsql: Fix and simplify check for whether we're running as Windows serv