Skip to content

Commit

Permalink
feat: add PG.OID type cod annotation
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 577053414
  • Loading branch information
Google APIs authored and copybara-github committed Oct 27, 2023
1 parent 7f9169b commit 727c286
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion google/spanner/v1/type.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -171,4 +171,9 @@ enum TypeAnnotationCode {
// [JSON][google.spanner.v1.TypeCode.JSON] when a client interacts with PostgreSQL-enabled
// Spanner databases.
PG_JSONB = 3;

// PostgreSQL compatible OID type. This annotation can be used by a client
// interacting with PostgreSQL-enabled Spanner database to specify that a
// value should be treated using the semantics of the OID type.
PG_OID = 4;
}

0 comments on commit 727c286

Please sign in to comment.