Current Connection Information - Mailing list pgsql-hackers

From Maiquel Grassi
Subject Current Connection Information
Date
Msg-id CP8P284MB249650EFB1D6E1C2C68ED3ADEC7B2@CP8P284MB2496.BRAP284.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Current Connection Information
List pgsql-hackers

Hi,

 

It would be viable and appropriate to implement a unified function that provides important information about the current connection?

Just an example: "Current Connection Informations".

 

I implemented it in PL/pgSQL to demonstrate the idea, see on GitHub:
https://github.com/maiquelgrassi/DBA-toolkit/blob/main/cluster/dba_whoami_function.sql

Regards,
Maiquel.

pgsql-hackers by date:

Previous
From: Sergey Prokhorenko
Date:
Subject: Re: UUID v7
Next
From: Paul Jungwirth
Date:
Subject: Re: SQL:2011 application time