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