diff --git a/pg14.Dockerfile b/pg14.Dockerfile index f65833a..2b83951 100644 --- a/pg14.Dockerfile +++ b/pg14.Dockerfile @@ -18,7 +18,9 @@ RUN apk add --no-cache \ cmake \ openssl-dev \ krb5-dev \ - # required for timescaledb + # needed for the uuid-ossp extension + ossp-uuid-dev \ + # required for timescaledb linux-headers RUN git clone --depth 1 --branch ${PG_BRANCH} https://github.com/postgres/postgres.git /postgres @@ -31,6 +33,7 @@ RUN git apply /tmp/*.patch # Build PostgreSQL with debug flags RUN ./configure \ + --with-uuid=ossp \ --without-icu \ --with-openssl \ --prefix=/usr/local/pgsql @@ -108,6 +111,7 @@ RUN apk add -uU --no-cache \ bash \ su-exec \ openssl \ + ossp-uuid-dev \ postgresql-client \ krb5 diff --git a/src/sync/schema-link.ts b/src/sync/schema-link.ts index eab2bfa..26caa33 100644 --- a/src/sync/schema-link.ts +++ b/src/sync/schema-link.ts @@ -276,6 +276,7 @@ export class RestoreCommand { "--no-owner", "--no-acl", "--verbose", + "--disable-triggers", ...RestoreCommand.formatFlags(), "--dbname", connectable.toString(),