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

stream.peer_addr() & auth_query #575

Merged
merged 2 commits into from
Aug 31, 2023
Merged

stream.peer_addr() & auth_query #575

merged 2 commits into from
Aug 31, 2023

Conversation

hellower
Copy link
Contributor

@hellower hellower commented Aug 31, 2023

  1. Don't unwrap stream.peer_addr() #562 (same code)
    (another lines changed)

  2. auth_query (sample)

postgresml#562 (same code)
(another lines changed)
# single quote need
auth_query="SELECT usename, passwd FROM pg_shadow WHERE usename='$1'"
@levkk
Copy link
Contributor

levkk commented Aug 31, 2023

Thank you! Going to merge as soon as the CI passes.

@hellower hellower changed the title Don't unwrap stream.peer_addr() stream.peer_addr() & auth_query Aug 31, 2023
@levkk levkk merged commit 33db0df into postgresml:main Aug 31, 2023
1 check passed
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.

2 participants