mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
it was using too soon. In a situation where pg_do_encoding_conversion is a no-op, this led to garbage data returned. In HEAD, also modify the code that's ensuring null termination to make it a tad more obvious what's happening.