Unverified Commit 13b7290a authored by Dimitri Fontaine's avatar Dimitri Fontaine Committed by GitHub
Browse files

Fix application_name truncation notice messages. (#578)

Postgres application_name is limited to NAMEDATALEN, sending more bytes
than that gives us a NOTICE and we can easily avoid it. In passing, avoid
redundancies in the application_name when the ps_buffer already starts with
"pgcopydb: ".
parent 3f32b1a0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment