PostgreSQL | ||
---|---|---|
Prev | Chapter 50. Frontend/Backend Protocol | Next |
This section describes the base data types used in messages.
An n bit integer in network byte order. If i is specified it is the literal value. Eg. Int16, Int32(42).
A character array of exactly n bytes interpreted as a '\0' terminated string. The '\0' is omitted if there is insufficient room. If s is specified it is the literal value. Eg. LimString32, LimString64("user").
A conventional C '\0' terminated string with no length limitation. A frontend should always read the full string even though it may have to discard characters if it's buffers aren't big enough.
If s is specified it is the literal value. Eg. String, String("user").NOTE: Is 8193 bytes the largest allowed size?
Exactly n bytes. If c is specified it is the literal value. Eg. Byte, Byte1('\n').
Prev | Home | Next |
Protocol | Up | Message Formats |