pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: RUIZ Sébastien <Sebastien.RUIZ@harmonie-mutuelle.fr>
To: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: RE: BUG #16003: pg_basebackup failed with error : directory "xxxxxxx" exists but is not empty
Date: Fri, 13 Sep 2019 15:12:32 +0000
Message-ID: <PR0P264MB041012580F2952DB0C07B148A5B30@PR0P264MB0410.FRAP264.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CABUevEwpzq_vu8La9AxQfCwFFrn8Pr+NP63pbvXY1=rb5Gd-xQ@mail.gmail.com>
References: <16003-3d9701ae82536cd1@postgresql.org>
	<CABUevExO_OwbCA2pMjL3Kecz9y22XNwthcPELrD_2ZcdAivfWA@mail.gmail.com>
	<PR0P264MB041007CAFDFBD2A7ACC1A5F9A5B30@PR0P264MB0410.FRAP264.PROD.OUTLOOK.COM>
	<CABUevEwpzq_vu8La9AxQfCwFFrn8Pr+NP63pbvXY1=rb5Gd-xQ@mail.gmail.com>

Ok, thanks for the answer and the advice.
This thread can be closed.
best regards.


Cordialement,
[cid:image001.jpg@01D35FC5.0989FAF0]<https://www.harmonie-mutuelle.fr/;

Sébastien RUIZ
Administrateur Bases de Données
Direction de la  Production et des Infrastructures
Direction des Opérations et de la Transformation
[cid:image010.jpg@01D373FE.EBC9E180] 02 47 46 53 84 – Bât. A - Bureau 114
41, rue Fabienne Landy 37700 ST PIERRE DES CORPS

[cid:image005.gif@01D35FC5.0989FAF0]<https://www.linkedin.com/company/1634517/;[cid:image006.gif@01D35FC5.0989FAF0]<https://twitter.com/hmutuelle;[cid:image007.gif@01D35FC5.0989FAF0]<https://www.facebook.com/harmoniemutuelle/;[cid:image008.gif@01D35FC5.0989FAF0]<https://www.instagram.com/harmoniemutuelle/?hl=fr;[cid:image009.gif@01D35FC5.0989FAF0]<https://www.youtube.com/user/HarmonieMutuelle>www.harmonie-mutuelle.fr<https://www.harmonie-mu...;


De : Magnus Hagander <magnus@hagander.net>
Envoyé : vendredi 13 septembre 2019 15:17
À : RUIZ Sébastien <Sebastien.RUIZ@harmonie-mutuelle.fr>
Cc : pgsql-bugs@lists.postgresql.org
Objet : Re: BUG #16003: pg_basebackup failed with error : directory "xxxxxxx" exists but is not empty



On Fri, Sep 13, 2019 at 4:28 AM RUIZ Sébastien <Sebastien.RUIZ@harmonie-mutuelle.fr<mailto:Sebastien.RUIZ@harmonie-mutuelle.fr>> wrote:
Hi Magnus,

Thanks for the reply.

We have tablespace directories inside other tablespaces because we have a technical schema (call »tech) into each database.
So we can’t put thoses tablespaces (for tech) anywhere else (they have the same name).

I don't understand that argument. The only *reason* to have multiple tablespaces is to put them in different locations. If you put them in the same location, why have them at all? Just move everything to the main tablespace and remove them.

You can have an unlimited (more or less) number of schemas in the same database, in the same tablespace. There is no connection whatsoever between schemas and tablespaces.


Well… it’s our choice. Probably it’s not a good choice but it’s done and it will be very difficult to change this actually.

But do you think it’s impossible for dev team to change pg_basebackup so that it works in this case ?

Nothing is impossible. Worse case you could always have a fork created for your specific environment. But compared to either of those options it will be easier to actually fix your installation.



(by the way, i’m not sure it’s the right way to answer like this (reply this mail) for the comunication on this list. I don’t know how i can do  otherwise…)

That is definitely the correct way.


//Magnus



Attachments:

image001.jpg (image/jpeg, 6.9K) download view image
image002.jpg (image/jpeg, 742B) download view image
image003.gif (image/gif, 1.2K) download view image
image004.gif (image/gif, 1.2K) download view image
image005.gif (image/gif, 1.2K) download view image
image006.gif (image/gif, 1.3K) download view image
image007.gif (image/gif, 1.2K) download view image

view thread (6+ messages)

Message-ID: <PR0P264MB041012580F2952DB0C07B148A5B30@PR0P264MB0410.FRAP264.PROD.OUTLOOK.COM>
Permalink:  ../PR0P264MB041012580F2952DB0C07B148A5B30@PR0P264MB0410.FRAP264.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/PR0P264MB041012580F2952DB0C07B148A5B30@PR0P264MB0410.FRAP264.PROD.OUTLOOK.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-bugs@postgresql.org
  Cc: Sebastien.RUIZ@harmonie-mutuelle.fr, magnus@hagander.net
  Subject: Re: BUG #16003: pg_basebackup failed with error : directory "xxxxxxx" exists but is not empty
  In-Reply-To: <PR0P264MB041012580F2952DB0C07B148A5B30@PR0P264MB0410.FRAP264.PROD.OUTLOOK.COM>
  References: <16003-3d9701ae82536cd1@postgresql.org> <CABUevExO_OwbCA2pMjL3Kecz9y22XNwthcPELrD_2ZcdAivfWA@mail.gmail.com> <PR0P264MB041007CAFDFBD2A7ACC1A5F9A5B30@PR0P264MB0410.FRAP264.PROD.OUTLOOK.COM> <CABUevEwpzq_vu8La9AxQfCwFFrn8Pr+NP63pbvXY1=rb5Gd-xQ@mail.gmail.com> <PR0P264MB041012580F2952DB0C07B148A5B30@PR0P264MB0410.FRAP264.PROD.OUTLOOK.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