-
Notifications
You must be signed in to change notification settings - Fork 890
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 2193 Postgres GENERATED ALWAYS (#2195)
* Update the postgres generated clause to GENERATED BY DEFAULT to allow database seeding. * Copied insert statements from PdoAdapter and updated to include OVERRIDING SYSTEM VALUE to allow database seeding when a column was created with GENERATED ALWAYS. * Update PostgresAdapter unit tests with expected output. * Update PostgresAdapter unit tests with default generated clause. * Only override system value if Postgres version is greater than or equal to 10. * Add checks for Postgres version and coding standard fix. * Another Postgres version check.
- Loading branch information
1 parent
9fb8416
commit 7bc24ba
Showing
3 changed files
with
116 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters