v3 protocol & string encoding

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: v3 protocol & string encoding
Date: 2004-05-30 06:00:27
Message-ID: 40B9787B.6090005@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Couple of quick protocol questions:

1) What encoding is used for strings sent and received during the
startup phase? I can set client_encoding to a known value as a parameter
in the startup packet, but the protocol spec doesn't appear to say how
the startup packet itself and the various strings sent/received during
startup (e.g. authentication, error messages) are encoded.

2) At what point in the stream does a client_encoding change take effect
-- immediately after the corresponding ParameterStatus message, or at
some other point?

-O

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2004-05-30 11:07:27 Re: Nested xacts: looking for testers and review
Previous Message pgsql 2004-05-30 04:42:36 Re: Extended customizing, SQL functions,