"Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> writes:
> /var/run/postgresql
There's another reason why the standard socket directory is /tmp,
and that's that it exists everywhere. Not all Unix systems even *have*
a /var hierarchy, let alone one that the admin will let you have a
playpen in.
regards, tom lane