Kevin Grittner <kgrittn(at)ymail(dot)com> writes:
> I am concerned that failure to check for truncation could allow
> deletion of unexpected files or directories.
I believe that we deal with this by the expedient of checking the lengths
of tablespace paths in advance, when the tablespace is created.
regards, tom lane