Thread: pgsql-server/src/backend/utils/cache relcache.c

pgsql-server/src/backend/utils/cache relcache.c

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/09/22 16:56:28

Modified files:
    src/backend/utils/cache: relcache.c

Log message:
    RelationClearRelation must reset rd_targblock and update rd_nblocks
    even when dealing with a nailed-in-cache relation; otherwise, following
    VACUUM truncation of a system catalog, other backends might have
    unreasonably large values of these fields.