package page_api

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service PageService

page_service.proto:40

NB: unlike libpq, there is no CheckRelExists in gRPC, at the compute team's request. Instead, use GetRelSize with allow_missing=true to check existence.

enum BaseBackupCompression

page_service.proto:114

Base backup compression algorithms.

Used in: GetBaseBackupRequest

enum GetPageClass

page_service.proto:179

A GetPageRequest class. Primarily intended for observability, but may also be used for prioritization in the future.

Used in: GetPageRequest

enum GetPageStatusCode

page_service.proto:226

A GetPageResponse status code. These are effectively equivalent to gRPC statuses. However, we use a bidirectional stream (potentially shared by many backends), and a gRPC status response would terminate the stream so we send GetPageResponse messages with these codes instead.

Used in: GetPageResponse

message Page

page_service.proto:214

A page. TODO: it would be slightly more efficient (but less convenient) to have separate arrays of block numbers and images, but given the 8KB page size it's probably negligible. Benchmark it anyway.

Used in: GetPageResponse

message ReadLsn

page_service.proto:76

The LSN a request should read at.

Used in: GetDbSizeRequest, GetPageRequest, GetRelSizeRequest, GetSlruSegmentRequest

message RelTag

page_service.proto:93

A relation identifier.

Used in: GetPageRequest, GetPageResponse, GetRelSizeRequest

message RequestID

page_service.proto:170

A Request ID. Should be unique for in-flight requests on a stream. Included in the response.

Used in: GetPageRequest, GetPageResponse