Re: Implementation of the frontend protocol
От | Tom Lane |
---|---|
Тема | Re: Implementation of the frontend protocol |
Дата | |
Msg-id | 27841.974735904@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Implementation of the frontend protocol (Peter Korsgaard <jacmet@control.auc.dk>) |
Ответы |
Re: Implementation of the frontend protocol
Re: Implementation of the frontend protocol |
Список | pgsql-general |
Peter Korsgaard <jacmet@control.auc.dk> writes: > After I send the ReadyForQuery packet I recieve a Query packet containing > "select getdatabaseencoding()", which I cannot find information about > anywhere. It's just an SQL function in the backend. > What am I supposed to return in response to this select? You're supposed to send it to the backend for execution and pass back the resulting output. You'll find that libpq (and psql even more so) issue a number of queries all by themselves after connection startup; just because you don't think you've done anything doesn't mean that the backend hasn't cycled through several queries ... regards, tom lane
В списке pgsql-general по дате отправления: