Re: Implementation of the frontend protocol - Mailing list pgsql-general

From Peter Korsgaard
Subject Re: Implementation of the frontend protocol
Date
Msg-id Pine.GSO.4.21.0011201202470.24354-100000@brille.control.auc.dk
Whole thread Raw
In response to Re: Implementation of the frontend protocol  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Implementation of the frontend protocol  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi!

I got the startup part of the serverprotocol implemented according to the
documentation at http://www.postgresql.org/docs/programmer/protocol.htm,
but there seems to be something missing in the specification.
After I send the ReadyForQuery packet I recieve a Query packet containing
"select getdatabaseencoding()", which I cannot find information about
anywhere. A search on the postgresql website only gives a reference to a
bugfix regarding unicode characters and varchars, but I guess it's
something about the character encoding used.

What am I supposed to return in response to this select?

--
Bye, Peter Korsgaard


pgsql-general by date:

Previous
From: "Francis Solomon"
Date:
Subject: RE: Date arithmatic question
Next
From: Mickaël Jouanne
Date:
Subject: Re: [NOVICE] Re: Some problem on the data base server !