package Polarx.Notice

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

message Frame

polarx_notice.proto:50

Common Frame for all Notices ===================================================== ===== .type value ===================================================== ===== :protobuf:msg:`Polarx.Notice::Warning` 1 :protobuf:msg:`Polarx.Notice::SessionVariableChanged` 2 :protobuf:msg:`Polarx.Notice::SessionStateChanged` 3 ===================================================== ===== :param type: the type of the payload :param payload: the payload of the notification :param scope: global or local notification

enum Frame.Scope

polarx_notice.proto:51

Used in: Frame

enum Frame.Type

polarx_notice.proto:55

message SessionStateChanged

polarx_notice.proto:139

Notify clients about changes to the internal session state ========================================== ========= :protobuf:msg:`Polarx.Notice::Frame` field value ========================================== ========= ``.type`` 3 ``.scope`` ``local`` ========================================== ========= :param param: parameter key :param value: updated value

enum SessionStateChanged.ExtraServerState

polarx_notice.proto:154

enum SessionStateChanged.Parameter

polarx_notice.proto:140

Used in: SessionStateChanged

message SessionVariableChanged

polarx_notice.proto:122

Notify clients about changes to the current session variables Every change to a variable that is accessable through: .. code-block:: sql SHOW SESSION VARIABLES ========================================== ========= :protobuf:msg:`Polarx.Notice::Frame` field value ========================================== ========= ``.type`` 2 ``.scope`` ``local`` ========================================== ========= :param namespace: namespace that param belongs to :param param: name of the variable :param value: the changed value of param

message Warning

polarx_notice.proto:93

Server-side warnings and notes ``.scope`` == ``local`` ``.level``, ``.code`` and ``.msg`` map the content of .. code-block:: sql SHOW WARNINGS ``.scope`` == ``global`` (undefined) will be used for global, unstructured messages like: * server is shutting down * a node disconnected from group * schema or table dropped ========================================== ======================= :protobuf:msg:`Polarx.Notice::Frame` field value ========================================== ======================= ``.type`` 1 ``.scope`` ``local`` or ``global`` ========================================== ======================= :param level: warning level: Note or Warning :param code: warning code :param msg: warning message

enum Warning.Level

polarx_notice.proto:94

Used in: Warning