Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tokio-postgres: Set user to executing process' user by default.#1059

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sfackler merged 3 commits intorust-postgres:masterfromISibboI:master
Aug 19, 2023

Conversation

ISibboI
Copy link
Contributor

This mimics the behaviour of libpq and some other libraries (see#1024). This commit uses thewhoami crate, and thus goes as far as defaulting the user to the executing process' user name on all operating systems.

Closes#1024

WGH- reacted with thumbs up emoji
This mimics the behaviour of libpq and some other libraries (seerust-postgres#1024).This commit uses the `whoami` crate, and thus goes as far as defaulting the user to the executing process' user name on all operating systems.
@ISibboI
Copy link
ContributorAuthor

How should I go about the time package?

@sfackler
Copy link
Collaborator

You can bump the version we use in CI up to 1.67:https://github.com/sfackler/rust-postgres/blob/master/.github/workflows/ci.yml#L85

@sfacklersfackler merged commitf777f74 intorust-postgres:masterAug 19, 2023
@sfackler
Copy link
Collaborator

Thanks!

ISibboI reacted with rocket emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Make username default to current login name

2 participants

@ISibboI@sfackler

[8]ページ先頭

©2009-2025 Movatter.jp