8000 feat: add PG.OID type cod annotation · googleapis/googleapis@727c286 · GitHub
[go: up one dir, main page]

Skip to content

Commit 727c286

Browse files
Google APIscopybara-github
authored andcommitted
feat: add PG.OID type cod annotation
PiperOrigin-RevId: 577053414
1 parent 7f9169b commit 727c286

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

google/spanner/v1/type.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -171,4 +171,9 @@ enum TypeAnnotationCode {
171171
// [JSON][google.spanner.v1.TypeCode.JSON] when a client interacts with PostgreSQL-enabled
172172
// Spanner databases.
173173
PG_JSONB = 3;
174+
175+
// PostgreSQL compatible OID type. This annotation can be used by a client
176+
// interacting with PostgreSQL-enabled Spanner database to specify that a
177+
// value should be treated using the semantics of the OID type.
178+
PG_OID = 4;
174179
}

0 commit comments

Comments
 (0)
0