Exclude pg_internal.init from base backup

From: David Steele <david(at)pgmasters(dot)net>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Exclude pg_internal.init from base backup
Date: 2017-09-02 19:08:03
Message-ID: d59f9121-3632-1598-5e7d-9942f35fbf6c@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

The cache in pg_internal.init was reused in days of yore but has been
rebuilt on postmaster startup since v8.1. It appears there is no reason
for this file to be backed up.

I also moved the RELCACHE_INIT_FILENAME constant to relcache.h to avoid
duplicating the string.

I'll add this to the 2017-11 CF.

Thanks,
--
-David
david(at)pgmasters(dot)net

Attachment Content-Type Size
pg_basebackup-exclusion-v1.patch text/plain 4.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alik Khilazhev 2017-09-02 19:54:19 Re: [WIP] Zipfian distribution in pgbench
Previous Message Emre Hasegeli 2017-09-02 18:49:04 Re: [PATCH] Improve geometric types