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

feat: allow application name to be passed in postgres connection url #243

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

iand
Copy link
Contributor

@iand iand commented Nov 18, 2020

This change sets the application name to the current version only if a name has not already been specified. This allows us to assign names to instances by including application_name=foo as part of the the postgres connection url, e.g. `postgres://user:password@server/database?application_name=headindexer'

The application name is shown in the pg_stat_activity table.

@iand iand requested a review from placer14 November 18, 2020 10:28
@iand iand merged commit 042d470 into master Nov 18, 2020
@iand iand deleted the iand/appname branch November 18, 2020 20:02
placer14 added a commit that referenced this pull request Nov 18, 2020
…ck-not-acquired

* origin/master:
  feat: allow application name to be passed in postgres connection url (#243)
  chore: remove unused tables and views
  fix: multisig actor migration
  fix: lotus chain store is a blockstore
  feat: limit history indexer by height (#234)
  polish: Avoid duplicate work when reading receipts
  fix: missed while closing #201
  fix: gracefully disconnect from postgres on exit
  polish: use new init actor diffing logic
  fix: don't update go modules when running make
  fix: panic in multisig genesis task casting
  feat: extract msig transaction hamt
  Create lint.yml (#164)
  remove null bytes from message params (#208)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants