I wrote:
> Piotr Gackiewicz <gacek@intertele.pl> writes:
>> $ psql -h localhost -c "SET ssl_renegotiation_limit='3kB'; SELECT repeat('0123456789', 1800);"
>> SSL error: unexpected message
>> connection to server was lost
> BTW, are you using any nondefault SSL settings? Because I can't reproduce
> the failure you show.
Oh, scratch that: I do reproduce that in PG <= 9.3, just not in 9.4 or
HEAD. Apparently our renegotiation rewrite in 9.4 affects this.
regards, tom lane