Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Variables PostgresProtocolConfig.maxBufferSpace

1
2
3

Documentation

The maximum amount of buffer space (for reading and writing) that's allowed to be dynamically allocated when sending/reading messages.

If this limit is exceeded then PostgresProtocolError.bufferTooSmallwill be thrown by most PostgresProtocolfunctions.

The buffer's length gets reset to minBufferSpaceafter every flush to the network. (Note: Due to how Array's default capacity mechanism works, once the buffer has grown it will likely always be slightly larger than minBufferSpacein reality).

ON THIS PAGE