pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tushar <tushar.ahuja@enterprisedb.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: pg_resetwal is broken if run from v10 against older version of PG data directory
Date: Mon, 29 May 2017 13:48:28 +0530
Message-ID: <f4b8eb91-b934-8a0d-b3cc-68f06e2279d1@enterprisedb.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Hi,

I have installed PG v9.6 / v9.5 , if we run pg_resetwal from v10 
binaries against data directory of v9.6/9.5 ,getting this error -

centos@centos-cpula bin]$ ./pg_resetwal -D /tmp/pg9.6/bin/data/
pg_resetwal: pg_control exists but is broken or unknown version; ignoring it
pg_resetwal: could not open directory "pg_wal": No such file or directory
[centos@centos-cpula bin]$

Steps to reproduce-
installed PG v9.6
installed PG v10
go to bin directory of v10 and run pg_resetwal , provide -D = data 
directory of v9.6.

-- 
regards,tushar
EnterpriseDB  https://www.enterprisedb.com/
The Enterprise PostgreSQL Company



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (15+ messages)  latest in thread

Message-ID: <f4b8eb91-b934-8a0d-b3cc-68f06e2279d1@enterprisedb.com>
Permalink:  ../f4b8eb91-b934-8a0d-b3cc-68f06e2279d1@enterprisedb.com/
Also on:    postgresql.org/message-id/f4b8eb91-b934-8a0d-b3cc-68f06e2279d1@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tushar.ahuja@enterprisedb.com
  Subject: Re: pg_resetwal is broken if run from v10 against older version of PG data directory
  In-Reply-To: <f4b8eb91-b934-8a0d-b3cc-68f06e2279d1@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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