Probably an optimistic question - can a user with access to two databases create a function in one to access tables in the other? Or triggers?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных