pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #14304: WAL files pg_upgrade
2+ messages / 2 participants
[nested] [flat]
* BUG #14304: WAL files pg_upgrade
@ 2016-08-30 15:41 furlongs@osti.gov
0 siblings, 1 reply; 2+ messages in thread
From: furlongs@osti.gov @ 2016-08-30 15:41 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 14304
Logged by: Shane Furlong
Email address: furlongs@osti.gov
PostgreSQL version: 9.4.9
Operating system: centOS
Description:
My shop is running PostgreSQL 9.0 and pg_upgrading to 9.4.
Currently WAL files are saved in a location /pgsql/archive.
New WAL files will be stored in location /pgsql/archive94.
My question is how does pg_upgrade handle WAL files. It looks like to me
that pg_upgrade only addresses the data directory and not the archive
directory.
Is it necessary to flush all 9.0 WAL files prior to running pg_upgrade? Or
would one just copy the WAL files from the previous location to the new
location?
Any help or direction you can supply would be greatly appreciated.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #14304: WAL files pg_upgrade
@ 2016-08-30 15:54 Bruce Momjian <bruce@momjian.us>
parent: furlongs@osti.gov
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2016-08-30 15:54 UTC (permalink / raw)
To: furlongs@osti.gov; +Cc: pgsql-bugs
On Tue, Aug 30, 2016 at 03:41:41PM +0000, furlongs@osti.gov wrote:
> The following bug has been logged on the website:
>
> Bug reference: 14304
> Logged by: Shane Furlong
> Email address: furlongs@osti.gov
> PostgreSQL version: 9.4.9
> Operating system: centOS
> Description:
>
> My shop is running PostgreSQL 9.0 and pg_upgrading to 9.4.
>
> Currently WAL files are saved in a location /pgsql/archive.
>
> New WAL files will be stored in location /pgsql/archive94.
>
> My question is how does pg_upgrade handle WAL files. It looks like to me
> that pg_upgrade only addresses the data directory and not the archive
> directory.
>
> Is it necessary to flush all 9.0 WAL files prior to running pg_upgrade? Or
> would one just copy the WAL files from the previous location to the new
> location?
>
> Any help or direction you can supply would be greatly appreciated.
pg_upgrade does _nothing_ with WAL. It does not copy it from the old
cluster to the new cluster, nor does it interact with the archive
directory.
I do recommend you use a _different_ directory to store the WAL after
the ugprade so the WAL file names don't conflict --- seems you are
already doing that. :-)
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-08-30 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-30 15:41 BUG #14304: WAL files pg_upgrade furlongs@osti.gov
2016-08-30 15:54 ` Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox