Pragma autonomous transactions in Postgres/ Certification based authentication in DB Links

aditya desai <admad123@gmail.com>

From: aditya desai <admad123@gmail.com>
To: pgsql-sql <pgsql-sql@lists.postgresql.org>
Date: 2021-12-17T15:43:32Z
Lists: pgsql-sql
Hi,
Is there any way to achieve autonomous transactions in Postgres? There is a
way to do it by using DB Link. However DB Link involves user name and
password which is a bit of a security threat.

How to use certificate based authentication in DB Links instead of
hardcoding user name and password in it?



Regards,
Aditya.