replicase / pgcapture

A scalable Netflix DBLog implementation for PostgreSQL
Apache License 2.0
220 stars 31 forks source link

feat: support generated columns #26

Closed benjamin99 closed 1 year ago

benjamin99 commented 1 year ago

Description

The PR is for supporting the generated identity and the generated columns.

Test against different PG versions

Since the GENERATED ALWAYS AS (...) is supported only for the pg12 or above, the PR adjusted the related tests/configs to:

  1. support testing against different pg versions (i.e. pg11, pg12, and pg13).
  2. support running different tests against different versions (with the min pg version specified by the test case itself).

Also the new Dockerfile and the build script are introduced in the PR to support building different version of pg with pglogical.

Related issues

to solve #27