From: rob stone <floriparob@gmail.com>
To: Johann Spies <johann.spies@gmail.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Which background task looks for pg_xlog in 10?
Date: Tue, 28 Aug 2018 17:45:14 +1000
Message-ID: <26bbc1764d522d0710ed6f55f2eb9f8e82fdc9aa.camel@gmail.com> (raw)
In-Reply-To: <CAGZ55DRoYc4S+bG8+51WxSB_YFx=xbX85NfRB3HvdgnsH1dbSA@mail.gmail.com>
References: <CAGZ55DRoYc4S+bG8+51WxSB_YFx=xbX85NfRB3HvdgnsH1dbSA@mail.gmail.com>
Hello
On Tue, 2018-08-28 at 08:32 +0200, Johann Spies wrote:
> I see this in /var/log/postgresql/postgresql-10-main.log:
>
> postgres postgres@template1 ERROR: could not open directory
> "pg_xlog": No such file or directory
>
> postgres postgres@template1 STATEMENT: SELECT count(*) AS segments
> FROM pg_ls_dir('pg_xlog') t(fn) \
> WHERE fn ~ '^[0-9A-Z]{24}$'
>
> Where does this come from?
>
> Regards
> Johann
> --
> Because experiencing your loyal love is better than life itself,
> my lips will praise you. (Psalm 63:3)
>
There is no directory pg_xlog in V10.
You might have some incompatible software somewhere or an application
is running this query.
Why does it say "postgres@template1?
Cheers,
Rob
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: floriparob@gmail.com, johann.spies@gmail.com
Subject: Re: Which background task looks for pg_xlog in 10?
In-Reply-To: <26bbc1764d522d0710ed6f55f2eb9f8e82fdc9aa.camel@gmail.com>
References: <CAGZ55DRoYc4S+bG8+51WxSB_YFx=xbX85NfRB3HvdgnsH1dbSA@mail.gmail.com> <26bbc1764d522d0710ed6f55f2eb9f8e82fdc9aa.camel@gmail.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