The tomcat developers were working on a hybrid system, that would use unix sockets via JNI for local connections, but I'm not sure what happened to it. Or maybe they used a named pipe instead? I really don't know.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных