Skip to content

Commit

Permalink
feat(spanner-v1): Add PG_OID annotation for postgresql compatibility (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] authored Oct 31, 2023
1 parent 8076b6b commit 071854f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion google-cloud-spanner-v1/lib/google/spanner/v1/type_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions google-cloud-spanner-v1/proto_docs/google/spanner/v1/type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ module TypeAnnotationCode
# {::Google::Cloud::Spanner::V1::TypeCode::JSON 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
end
end
end
Expand Down

0 comments on commit 071854f

Please sign in to comment.