pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over
3+ messages / 3 participants
[nested] [flat]
* BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over
@ 2018-07-16 08:34 PG Bug reporting form <noreply@postgresql.org>
2018-07-16 12:49 ` Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over Michael Paquier <michael@paquier.xyz>
0 siblings, 1 reply; 3+ messages in thread
From: PG Bug reporting form @ 2018-07-16 08:34 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: vrtareg@yahoo.com
The following bug has been logged on the website:
Bug reference: 15278
Logged by: Areg Vrtanesyan
Email address: vrtareg@yahoo.com
PostgreSQL version: 9.6.9
Operating system: Linux RHE7.4
Description:
Hi
I was creating streaming slave using
https://wiki.postgresql.org/wiki/Streaming_Replication WiKi
Now when I have moved some of my config files to another place to keep them
in SVN and also log folders to another partition streaming initialisation
produces warnings.
Not sure if they are safe as pg_clog will be empty ...
WARNING: skipping special file "./pg_hba.conf"
WARNING: skipping special file "./pg_ident.conf"
WARNING: skipping special file "./postgresql.auto.conf"
WARNING: skipping special file "./postgresql.conf"
WARNING: skipping special file "./pg_clog"
WARNING: skipping special file "./pg_log"
WARNING: skipping special file "./pg_hba.conf"
WARNING: skipping special file "./pg_ident.conf"
WARNING: skipping special file "./postgresql.auto.conf"
WARNING: skipping special file "./postgresql.conf"
WARNING: skipping special file "./pg_clog"
WARNING: skipping special file "./pg_log"
Regards,
Areg
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over
2018-07-16 08:34 BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over PG Bug reporting form <noreply@postgresql.org>
@ 2018-07-16 12:49 ` Michael Paquier <michael@paquier.xyz>
2018-07-16 12:55 ` Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over Areg Vrtanesyan <vrtareg@yahoo.com>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Paquier @ 2018-07-16 12:49 UTC (permalink / raw)
To: vrtareg@yahoo.com; pgsql-bugs@lists.postgresql.org
On Mon, Jul 16, 2018 at 08:34:35AM +0000, PG Bug reporting form wrote:
> I was creating streaming slave using
> https://wiki.postgresql.org/wiki/Streaming_Replication WiKi
>
> Now when I have moved some of my config files to another place to keep them
> in SVN and also log folders to another partition streaming initialisation
> produces warnings.
>
> Not sure if they are safe as pg_clog will be empty ...
That's unsafe for pg_clog as this tracks the transaction commit status
based on the transaction ID. Note that this is not a bug, a base backup
using the replication protocol allows only symlinks to be in pg_tblspc,
and pg_wal (pg_xlog for <= 9.6) is handled as a special case.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over
2018-07-16 08:34 BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over PG Bug reporting form <noreply@postgresql.org>
2018-07-16 12:49 ` Re: BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over Michael Paquier <michael@paquier.xyz>
@ 2018-07-16 12:55 ` Areg Vrtanesyan <vrtareg@yahoo.com>
0 siblings, 0 replies; 3+ messages in thread
From: Areg Vrtanesyan @ 2018-07-16 12:55 UTC (permalink / raw)
To: michael@paquier.xyz <michael@paquier.xyz>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Hi Michael
I was assuming that too.
I will consider to move pg_clog back.
Regards,
Areg
On Mon, 16 Jul 2018 at 13:49, Michael Paquier<michael@paquier.xyz> wrote: On Mon, Jul 16, 2018 at 08:34:35AM +0000, PG Bug reporting form wrote:
> I was creating streaming slave using
> https://wiki.postgresql.org/wiki/Streaming_Replication WiKi
>
> Now when I have moved some of my config files to another place to keep them
> in SVN and also log folders to another partition streaming initialisation
> produces warnings.
>
> Not sure if they are safe as pg_clog will be empty ...
That's unsafe for pg_clog as this tracks the transaction commit status
based on the transaction ID. Note that this is not a bug, a base backup
using the replication protocol allows only symlinks to be in pg_tblspc,
and pg_wal (pg_xlog for <= 9.6) is handled as a special case.
--
Michael
Attachments:
Untitled (text/plain, 699B) download
On Mon, Jul 16, 2018 at 08:34:35AM +0000, PG Bug reporting form wrote:
> I was creating streaming slave using
> https://wiki.postgresql.org/wiki/Streaming_Replication WiKi
>
> Now when I have moved some of my config files to another place to keep them
> in SVN and also log folders to another partition streaming initialisation
> produces warnings.
>
> Not sure if they are safe as pg_clog will be empty ...
That's unsafe for pg_clog as this tracks the transaction commit status
based on the transaction ID. Note that this is not a bug, a base backup
using the replication protocol allows only symlinks to be in pg_tblspc,
and pg_wal (pg_xlog for <= 9.6) is handled as a special case.
--
Michael
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-07-16 12:55 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16 08:34 BUG #15278: When initialising Streaming Slave if some folders and files are symlinks they are not copied over PG Bug reporting form <noreply@postgresql.org>
2018-07-16 12:49 ` Michael Paquier <michael@paquier.xyz>
2018-07-16 12:55 ` Areg Vrtanesyan <vrtareg@yahoo.com>
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