From: | Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, David Steele <david(at)pgmasters(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Exclude pg_internal.init from base backup |
Date: | 2017-11-08 00:04:51 |
Message-ID: | CAJrrPGcT9xZRkzSy7A5zLss12ys5gTzS_oqFghrXSKf0uOOiYg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Nov 8, 2017 at 3:03 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> On 5 November 2017 at 11:55, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> > On Sat, Nov 4, 2017 at 4:04 AM, Michael Paquier <
> michael(dot)paquier(at)gmail(dot)com>
> > wrote:
> >>
> >> On Fri, Nov 3, 2017 at 4:04 PM, Petr Jelinek
> >> <petr(dot)jelinek(at)2ndquadrant(dot)com> wrote:
> >> > Not specific problem to this patch, but I wonder if it should be made
> >> > more clear that those files (there are couple above of what you added)
> >> > are skipped no matter which directory they reside in.
> >>
> >> Agreed, it is a good idea to tell in the docs how this behaves. We
> >> could always change things so as the comparison is based on the full
> >> path like what is done for pg_control, but that does not seem worth
> >> complicating the code.
> >
> >
> > pg_internal.init can, and do, appear in multiple different directories.
> > pg_control is always in the same place. So they're not the same thing.
> >
> > So +1 for documenting the difference in how these are handled, as this is
> > important to know for somebody writing an external tool for it.
>
> Changes made, moving to commit the attached patch.
>
The commit 98267e missed to check the empty SGML tag, attached patch
fixes the same.
Regards,
Hari Babu
Fujitsu Australia
Attachment | Content-Type | Size |
---|---|---|
sgml_empty_tag_fix.patch | application/octet-stream | 501 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-11-08 00:11:00 | Re: Exclude pg_internal.init from base backup |
Previous Message | Thomas Munro | 2017-11-07 23:57:50 | Re: Parallel Hash take II |