PostgreSQL query to find the host name
subhash-DBA
105
Reputation points
HI Team,
I am looking for a PostgreSQL command/query (not Azure CLI )that i can run in Azure PostgreSQL flexible server to get the server name.
currently i can get this info using the below psql command "\conninfo", but this command works only in the PSQL prompt and not part of stored procedures/code that runs from applications.
Sign in to answer