Bruce Momjian <bruce@momjian.us> writes:
> Peter Eisentraut wrote:
>> Renaming the directory is OK. Just make sure your init script or
>> whatever finds it.
> Oh, and make sure the postmaster isn't running when you do the rename.
While that's surely good practice, I don't think it's actually critical
since 8.1 or whenever we switched the code over to
all-relative-pathnames. Part of the point of that change was to make
sure that a DBA couldn't accidentally corrupt a database by renaming it
while live.
regards, tom lane