From 4fb964354cf04e58b9c82a95b96a2bd44b1b6838 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 9 Jul 2026 07:22:25 +0000 Subject: [PATCH 1/2] fix(export): include inflection-db in DB_REQUIRED_EXTENSIONS The exported tenant modules contain SQL that references inflection_db.* functions (get_namespace_name, get_field_name, etc.) emitted by constructive-db generators. inflection-db is a public pgpm module, so listing it as a required extension keeps it in the generated .control and package.json dependencies and removes the need for downstream post-export SQL patching. --- pgpm/export/src/export-utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pgpm/export/src/export-utils.ts b/pgpm/export/src/export-utils.ts index 847a1421a..74ee24552 100644 --- a/pgpm/export/src/export-utils.ts +++ b/pgpm/export/src/export-utils.ts @@ -29,6 +29,7 @@ export const DB_REQUIRED_EXTENSIONS = [ 'vector', 'ltree', 'metaschema-schema', + 'inflection-db', 'pgpm-inflection', 'pgpm-uuid', 'pgpm-utils', From 47984d015676b1a2e290e187cb3d9c4caf64f636 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 07:37:02 +0000 Subject: [PATCH 2/2] Revert "fix(export): include inflection-db in DB_REQUIRED_EXTENSIONS" This reverts commit 4fb964354cf04e58b9c82a95b96a2bd44b1b6838. --- pgpm/export/src/export-utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/pgpm/export/src/export-utils.ts b/pgpm/export/src/export-utils.ts index 74ee24552..847a1421a 100644 --- a/pgpm/export/src/export-utils.ts +++ b/pgpm/export/src/export-utils.ts @@ -29,7 +29,6 @@ export const DB_REQUIRED_EXTENSIONS = [ 'vector', 'ltree', 'metaschema-schema', - 'inflection-db', 'pgpm-inflection', 'pgpm-uuid', 'pgpm-utils',