-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-postgres: Set application_name param
This means we show up like this in pg_stat_replication: postgres=> SELECT * FROM pg_stat_replication; -[ RECORD 1 ]----+------------------------------ pid | 36917 usesysid | 16540 usename | flow_capture application_name | estuary_flow client_addr | 99.27.226.225 client_hostname | client_port | 40560 backend_start | 2025-02-25 16:40:03.981342+00 [...] Currently the `application_name` field is entirely blank, so it seems like having anything at all there is a clear win. We might consider making it customizable or filing in the capture task name in the future, but for now this is better than nothing.
- Loading branch information
1 parent
d54473b
commit 49f5235
Showing
4 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
postgres://will:secret1234@example.com:5432/somedb | ||
postgres://will:secret1234@example.com:5432/somedb?application_name=estuary_flow | ||
config valid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
postgres://will:secret1234@example.com:5432/somedb?sslmode=whoops-this-isnt-right | ||
postgres://will:secret1234@example.com:5432/somedb?application_name=estuary_flow&sslmode=whoops-this-isnt-right | ||
invalid 'sslmode' configuration: unknown setting "whoops-this-isnt-right" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
postgres://will:secret1234@example.com:5432/somedb?sslmode=verify-full | ||
postgres://will:secret1234@example.com:5432/somedb?application_name=estuary_flow&sslmode=verify-full | ||
config valid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters