GoogleCloudPlatform / pgadapter

PostgreSQL wire-protocol proxy for Cloud Spanner
https://cloud.google.com/spanner/docs/postgresql-interface#postgresql-client-support
Apache License 2.0
54 stars 20 forks source link

fix: add translations for unsupported statements for Liquibase #2211

Closed olavloite closed 3 weeks ago

olavloite commented 3 weeks ago

This change fixes two issues with Liquibase:

  1. The 'tag' command did not work, as it used an UPDATE .. FROM statement.
  2. Liquibase 4.28.0 and later did not work due to a NOT LIKE clause.

Both the above types of statements are now automatically replaced by PGAdapter by compatible statements.

Fixes #2187