From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | "Nishant, Fnu" <nishantf(at)amazon(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Nasby, Jim" <nasbyj(at)amazon(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Maxim Boguk <maxim(dot)boguk(at)gmail(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>, Jeremy Finzel <finzelj(at)gmail(dot)com> |
Subject: | Re: found xmin from before relfrozenxid on pg_catalog.pg_authid |
Date: | 2018-05-28 19:57:32 |
Message-ID: | 20180528195732.pl7pt77itacsfw6m@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Hi,
(please don't top post)
On 2018-05-28 15:07:52 +0000, Nishant, Fnu wrote:
> We were working on this issue and thinking if we could actually make
> pg_class(rd_rel) part of recache entry upgradable.
Right, that's necessary. See the patch I just sent.
> To achieve this we can allocate Form_pg_class structures (for shared
> relations… a small number) on shared memory.
But why would this be necessary / a good idea? Even if we decided it
were, it seems like it'd end up being quite invasive. But I doubt it's
a good plan, because relcache entries want / need to be updated
differently in the transaction that does the changes (as it needs to see
the effect of catalog changes before commit) than other sessions (which
only should see them after commit).
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Cross | 2018-05-28 22:06:20 | Re: pgdg-keyring (or apt-key) failure on fresh 9.6 install |
Previous Message | Andres Freund | 2018-05-28 19:52:06 | Re: found xmin from before relfrozenxid on pg_catalog.pg_authid |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2018-05-28 20:23:14 | Re: Is a modern build system acceptable for older platforms |
Previous Message | Andres Freund | 2018-05-28 19:52:06 | Re: found xmin from before relfrozenxid on pg_catalog.pg_authid |