pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: database files are incompatible with server
Date: Thu, 22 Aug 2019 18:49:24 -0700
Message-ID: <5afe920c-4fce-a4dd-823c-3db521ba6362@aklaver.com> (raw)
In-Reply-To: <8ea2fa0b-740b-f7bf-1605-8cb705625519@gmail.com>
References: <2bee6c33-fcf8-6018-3f1f-92a085490f90@lucee.org>
	<1707638f-71b1-6b06-5200-cc5f2c899f94@aklaver.com>
	<8ea2fa0b-740b-f7bf-1605-8cb705625519@gmail.com>

On 8/22/19 6:29 PM, Ron wrote:
> On 8/22/19 7:08 PM, Adrian Klaver wrote:
>> On 8/22/19 4:52 PM, Igal @ Lucee.org wrote:
>>> I have a data directory that was created by Postgres 12 (I thought 
>>> beta 3 but now am not sure anymore) running in Docker.
>>>
>>> I have installed Postgres 12b3 as a Systemd service and am trying to 
>>> set the cluster to the same PGDATA.  I have set the owner of the 
>>> directory to postgres:postrgres, and the permissions to 0700, but I'm 
>>> getting the following error:
>>>
>>> 2019-08-22 23:40:48.759 UTC [23044] FATAL:  database files are 
>>> incompatible with server
>>> 2019-08-22 23:40:48.759 UTC [23044] DETAIL:  The database cluster was 
>>> initialized with CATALOG_VERSION_NO  201906161, but the server was 
>>> compiled with CATALOG_VERSION_NO 201907221.
>>
>> So the cluster is from an older version then the server.
> 
> Aren't Pg files supposed to be compatible within minor versions?
> 

Betas are a moving target so that does not hold:

https://www.postgresql.org/developer/beta/

"Features are subject to changes that are backwards incompatible at any 
time during the development of the betas, and could possibly be removed 
altogether."



-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (18+ messages)  latest in thread

Message-ID: <5afe920c-4fce-a4dd-823c-3db521ba6362@aklaver.com>
Permalink:  ../5afe920c-4fce-a4dd-823c-3db521ba6362@aklaver.com/
Also on:    postgresql.org/message-id/5afe920c-4fce-a4dd-823c-3db521ba6362@aklaver.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com
  Subject: Re: database files are incompatible with server
  In-Reply-To: <5afe920c-4fce-a4dd-823c-3db521ba6362@aklaver.com>
  References: <2bee6c33-fcf8-6018-3f1f-92a085490f90@lucee.org> <1707638f-71b1-6b06-5200-cc5f2c899f94@aklaver.com> <8ea2fa0b-740b-f7bf-1605-8cb705625519@gmail.com> <5afe920c-4fce-a4dd-823c-3db521ba6362@aklaver.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