From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com> |
Cc: | Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: use CREATE DATABASE STRATEGY = FILE_COPY in pg_upgrade |
Date: | 2024-06-14 21:29:13 |
Message-ID: | Zmy2KeP3tI0pIyIu@nathan |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Jun 12, 2024 at 09:41:01AM -0500, Nathan Bossart wrote:
> Actually, I think you are right that we need a manual checkpoint, except I
> think we need it to be after prepare_new_globals(). set_frozenxids()
> connects to each database (including template0) and updates a bunch of
> pg_class rows, and we probably want those on disk before we start copying
> the files to create all the user's databases.
Here is an updated patch.
--
nathan
Attachment | Content-Type | Size |
---|---|---|
v3-0001-Use-CREATE-DATABASE-.-STRATEGY-FILE_COPY-in-pg_up.patch | text/plain | 4.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jelte Fennema-Nio | 2024-06-14 22:11:04 | Re: RFC: adding pytest as a supported test framework |
Previous Message | Thomas Munro | 2024-06-14 21:24:00 | Re: RFC: adding pytest as a supported test framework |