Conversation
|
Here is the summary of changes. You are about to add 4 region tags.
This comment is generated by snippet-bot.
|
samples/snippets/src/main/java/com/example/spanner/PgCaseSensitivitySample.java
Outdated
Show resolved
Hide resolved
| + " AlbumId bigint NOT NULL," | ||
| + " Title varchar(1024) NOT NULL," | ||
| + " PRIMARY KEY (SingerId, AlbumId)" | ||
| + ") INTERLEAVE IN PARENT Singers ON DELETE CASCADE"), |
There was a problem hiding this comment.
Do we have sample for drop? One of the benefit is that we only support cascade drop for interleaved table.
There was a problem hiding this comment.
What exactly do you mean? I don't think we support cascade drop, only cascade delete. Or is that what you meant?
LGTM. I have a comment about the INTERLEAVE IN on delete cascade, but let's worry about it later. |
🤖 I have created a release *beep* *boop* --- ### [6.23.3](v6.23.2...v6.23.3) (2022-04-21) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#1830](#1830)) ([3c55eb3](3c55eb3)) ### Documentation * add samples for PostgreSQL ([#1700](#1700)) ([a024483](a024483)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Adds samples specifically for PG dialect databases.
cc @jin-jj