Re: pg_basebackup, tablespace mapping and path canonicalization

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_basebackup, tablespace mapping and path canonicalization
Дата
Msg-id 20150429001221.GF31727@momjian.us
обсуждение исходный текст
Ответ на Re: pg_basebackup, tablespace mapping and path canonicalization  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_basebackup, tablespace mapping and path canonicalization  (Ian Barwick <ian@2ndquadrant.com>)
Список pgsql-hackers
On Fri, Feb  6, 2015 at 08:25:42AM -0500, Robert Haas wrote:
> On Thu, Feb 5, 2015 at 10:21 PM, Ian Barwick <ian@2ndquadrant.com> wrote:
> > I stumbled on what appears to be inconsistent handling of double slashes
> > in tablespace paths when using pg_basebackup with the -T/--tablespace-mapping
> > option:
> >
> >     ibarwick:postgresql (master)$ mkdir /tmp//foo-old
> [...]
> > The attached patch adds the missing canonicalization; I can't see any
> > reason not to do this. Thoughts?
> 
> Seems OK to me.  Anyone think differently?

Patch applied.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Can pg_dump make use of CURRENT/SESSION_USER
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Allow SQL/plpgsql functions to accept record