Skip to content

Conversation

@elprans
Copy link
Member

@elprans elprans commented Jul 17, 2024

libpq does not canonicalize and neither should we, because:

  1. it's likely the wrong thing to do and removes control from the user;
  2. it introduces a blocking DNS lookup into an async path, which is not
    great.
libpq does not canonicalize and neither should we, because: 1) it's likely the wrong thing to do and removes control from the user; 2) it introduces a blocking DNS lookup into an async path, which is not great.
@eltoder
Copy link
Contributor

eltoder commented Jul 18, 2024

Unfortunately, this does not work:

gssapi.raw.misc.GSSError: Major (851968): Unspecified GSS failure. Minor code may provide more information, Minor (2529638919): Server not found in Kerberos database 

But we can make the code follow libpq more closely and remove the gethostbyname_ex call. I'll send a PR.

@eltoder
Copy link
Contributor

eltoder commented Jul 18, 2024

@elprans elprans closed this Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants