From ce6ffc5b25670dd3f35bdb0fcefdf7374eed4638 Mon Sep 17 00:00:00 2001 From: Krishnan Govindraj Date: Tue, 11 Nov 2025 20:59:06 +0100 Subject: [PATCH] Introduce extension version --- proto/connection.proto | 1 + proto/version.proto | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/proto/connection.proto b/proto/connection.proto index 6123524e..d288eb46 100644 --- a/proto/connection.proto +++ b/proto/connection.proto @@ -15,6 +15,7 @@ message Connection { message Open { message Req { Version version = 1; + ExtensionVersion extension_version = 5; string driver_lang = 2; string driver_version = 3; diff --git a/proto/version.proto b/proto/version.proto index 8469fe63..7bd14c76 100644 --- a/proto/version.proto +++ b/proto/version.proto @@ -11,3 +11,8 @@ enum Version { UNSPECIFIED = 0; VERSION = 7; } + +enum ExtensionVersion { + UNSPECIFIED_EXTENSION = 0; + EXTENSION = 1; // Reserving makes little sense here. +}