Fixes 3962: Implementation of Returning#4206
Fixes 3962: Implementation of Returning#4206leonschenk wants to merge 10 commits intoh2database:masterfrom
Conversation
- Bitwise operators - Configurable postgresql version - NoOp support for _PG_EXPANDARRAY
Add Java-21
|
Thank you for your contribution! Unfortunately, it is too intrusive and contains random unrelated changes, including features, that we don't want to support on our side, such as non-standard operators. They create a lot of unnecessary complexity. H2 is not an emulator of other database systems and cannot have all their crazy features. Actually it will be much better to write and contribute an implementation of standard data change delta tables to PostgreSQL. They are more powerful than If you can't do it for some reason, please implement only one feature per pull request and discuss what you add with community before writing an actual implementation. For |
DeltaChangeCollector:
-- Purpose is to collect changes from a DataChangeStatement
-- Used for GeneratedKeys, DeltaTable (new/old/final table), Returning, setting LastIdentity
Returning
-- Implementation to support Returning query using new DataChangeCollector
Postgresql server
-- Newer versions are supported
-- Implementations (noop) of the required postgresql queries for the newer versions.