Re: pg_basebackup vs. Windows and tablespaces - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_basebackup vs. Windows and tablespaces
Date
Msg-id 20141214174801.GH1768@alvh.no-ip.org
Whole thread Raw
In response to Re: pg_basebackup vs. Windows and tablespaces  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
Amit Kapila wrote:

> One way to deal with this could be to append a delimiter(which is not
> allowed
> in tablespace path like quote (\')) at the end of tablespace path while
> writing the same to symlink label file and then use that as end marker while
> reading it from file.

Some GNU tools such as xargs and find use a null char as item delimiter;
see find -print0 and xargs -0.  IIRC one of our tools also allow that
(psql?).  Doing the same here would make human reading a bit more
difficult, but not completely impossible.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Commitfest problems
Next
From: Alvaro Herrera
Date:
Subject: Re: Custom timestamp format in logs