Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate application_name data to connection so it is visible in pg_stat_activity table #477

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

samir-puranik
Copy link
Collaborator

@samir-puranik samir-puranik commented Sep 11, 2023

microsoft/azuredatastudio-postgresql#438. azdata will be the application_name in pg_stat_activity table for ADS PG connections.

@samir-puranik samir-puranik requested a review from a team as a code owner September 11, 2023 15:38
@samir-puranik
Copy link
Collaborator Author

We can check by checking

SELECT * FROM pg_stat_activity

and see that previously unnamed connections have application_name value of 'azdata'

@nasc17 nasc17 added the Release-v1.0 GA release of pg extension label Oct 5, 2023
@TheRealChssAddct
Copy link

This is desireable, and was completed and approved 9 months ago.
What does it take to get it merged?
SQL Server connections can set the application name in the connection properties. But Postgresql connections no.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release-v1.0 GA release of pg extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants