So, if postmaster can't access the system tables for authentication purposes, why not have one child forked, connected to the main postmaster process via some IPC mechanism, whose only purpose in life it is to answer SQL-queries for postmaster. mjl
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных