Skip to content

Under which circumstances would psycopg2 send an ETB (23 , 0x17) message? #1678

Answered by dvarrazzo
cpaulik asked this question in Q&A
Discussion options

You must be logged in to vote

In psycopg2, nothing: psycopg doesn't send messages on wire, it only uses the libpq.

I think that the libpq is not to blame either, because the byte1 it sends I think is always an ascii readable char, and 0x17 is not.

So I think either it is some library used on connection such as gssapi or openssl, or, well, no idea.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cpaulik
Comment options

Answer selected by cpaulik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants