pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedWAL file creation
2+ messages / 2 participants
[nested] [flat]
* WAL file creation
@ 2007-06-15 13:04 Donald Fraser <postgres@kiwi-fraser.net>
0 siblings, 1 reply; 2+ messages in thread
From: Donald Fraser @ 2007-06-15 13:04 UTC (permalink / raw)
To: pgsql-admin
Does anybody know if it is possible to create a set of *blank* WAL files for PostgreSQL 8.1, knowing that the database was safely shut down and all data is in tact?
The reason is that during the weekend I failed our master database over to our disaster recovery site, put that in read only mode, whilst I upgraded the master database, and after completing the upgrade and shutting the master down, I some how messed up re-connecting DRDB and lost all the new WAL files. From that point on the master would not start-up for obvious reasons, but I knew there were no pending transactions to be rolled forward in the WAL files, yet without a valid WAL file its impossible to start PostgreSQL.
Thanks in advance,
regards
Donald Fraser
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: WAL file creation
@ 2007-06-15 14:16 Tom Lane <tgl@sss.pgh.pa.us>
parent: Donald Fraser <postgres@kiwi-fraser.net>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2007-06-15 14:16 UTC (permalink / raw)
To: Donald Fraser <postgres@kiwi-fraser.net>; +Cc: pgsql-admin
"Donald Fraser" <postgres@kiwi-fraser.net> writes:
> Does anybody know if it is possible to create a set of *blank* WAL files =
> for PostgreSQL 8.1, knowing that the database was safely shut down and =
> all data is in tact?
pg_resetxlog
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-06-15 14:16 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-06-15 13:04 WAL file creation Donald Fraser <postgres@kiwi-fraser.net>
2007-06-15 14:16 ` Tom Lane <tgl@sss.pgh.pa.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