Re: Implementing Frontend/Backend Protocol TCP/IP
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Implementing Frontend/Backend Protocol TCP/IP |
| Дата | |
| Msg-id | 20091027134454.GC4876@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Re: Implementing Frontend/Backend Protocol TCP/IP (Raimon Fernandez <coder@montx.com>) |
| Список | pgsql-general |
Raimon Fernandez wrote: > I receive string data, I suppose it's text data. > > I can parse the data received, search for a B. You don't search for a B. You search for an S. The B in the documentation you quote indicates that this message can be sent by the backend only. You'll notice others have an F (sent by frontend only) and some have F & B. > Documentation: > ----------------------------------------------------------------------------- > ParameterStatus (B) > Byte1(’S’) > Identifies the message as a run-time parameter status report. > Int32 > Length of message contents in bytes, including self. > String > The name of the run-time parameter being reported. > String > The current value of the parameter. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-general по дате отправления: