diff --git a/components/postgresql/actions/delete-rows/delete-rows.mjs b/components/postgresql/actions/delete-rows/delete-rows.mjs index df8d4200bb552..220d074c1f827 100644 --- a/components/postgresql/actions/delete-rows/delete-rows.mjs +++ b/components/postgresql/actions/delete-rows/delete-rows.mjs @@ -4,7 +4,7 @@ export default { name: "Delete Row(s)", key: "postgresql-delete-rows", description: "Deletes a row or rows from a table. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "action", props: { postgresql, diff --git a/components/postgresql/actions/execute-custom-query/execute-custom-query.mjs b/components/postgresql/actions/execute-custom-query/execute-custom-query.mjs index 277c3b517b1a1..70cf00880b03e 100644 --- a/components/postgresql/actions/execute-custom-query/execute-custom-query.mjs +++ b/components/postgresql/actions/execute-custom-query/execute-custom-query.mjs @@ -4,7 +4,7 @@ export default { name: "Execute SQL Query", key: "postgresql-execute-custom-query", description: "Execute a custom PostgreSQL query. See [our docs](https://pipedream.com/docs/databases/working-with-sql) to learn more about working with SQL in Pipedream.", - version: "3.0.2", + version: "3.0.3", type: "action", props: { postgresql, diff --git a/components/postgresql/actions/find-row-custom-query/find-row-custom-query.mjs b/components/postgresql/actions/find-row-custom-query/find-row-custom-query.mjs index a41a5396ff76e..7dbd871ea5ddb 100644 --- a/components/postgresql/actions/find-row-custom-query/find-row-custom-query.mjs +++ b/components/postgresql/actions/find-row-custom-query/find-row-custom-query.mjs @@ -4,7 +4,7 @@ export default { name: "Find Row With Custom Query", key: "postgresql-find-row-custom-query", description: "Finds a row in a table via a custom query. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "action", props: { postgresql, diff --git a/components/postgresql/actions/find-row/find-row.mjs b/components/postgresql/actions/find-row/find-row.mjs index a455451e48d14..82c337526738d 100644 --- a/components/postgresql/actions/find-row/find-row.mjs +++ b/components/postgresql/actions/find-row/find-row.mjs @@ -4,7 +4,7 @@ export default { name: "Find Row", key: "postgresql-find-row", description: "Finds a row in a table via a lookup column. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "action", props: { postgresql, diff --git a/components/postgresql/actions/insert-row/insert-row.mjs b/components/postgresql/actions/insert-row/insert-row.mjs index 42a1feb182b41..63c9671b48474 100644 --- a/components/postgresql/actions/insert-row/insert-row.mjs +++ b/components/postgresql/actions/insert-row/insert-row.mjs @@ -4,7 +4,7 @@ export default { name: "Insert Row", key: "postgresql-insert-row", description: "Adds a new row. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "action", props: { postgresql, diff --git a/components/postgresql/actions/update-row/update-row.mjs b/components/postgresql/actions/update-row/update-row.mjs index a2964051d2b9c..96efa08676b35 100644 --- a/components/postgresql/actions/update-row/update-row.mjs +++ b/components/postgresql/actions/update-row/update-row.mjs @@ -4,7 +4,7 @@ export default { name: "Update Row", key: "postgresql-update-row", description: "Updates an existing row. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "action", props: { postgresql, diff --git a/components/postgresql/actions/upsert-row/upsert-row.mjs b/components/postgresql/actions/upsert-row/upsert-row.mjs index 5bb5042508505..73d6617de55ac 100644 --- a/components/postgresql/actions/upsert-row/upsert-row.mjs +++ b/components/postgresql/actions/upsert-row/upsert-row.mjs @@ -5,7 +5,7 @@ export default { name: "Upsert Row", key: "postgresql-upsert-row", description: "Adds a new row or updates an existing row. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "action", props: { postgresql, diff --git a/components/postgresql/package.json b/components/postgresql/package.json index cab4905cc60b4..9e46ac8ce3801 100644 --- a/components/postgresql/package.json +++ b/components/postgresql/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/postgresql", - "version": "2.2.2", + "version": "2.2.3", "description": "Pipedream PostgreSQL Components", "main": "postgresql.app.mjs", "keywords": [ diff --git a/components/postgresql/postgresql.app.mjs b/components/postgresql/postgresql.app.mjs index 4acf0f0b7c41c..4e62729929ffd 100644 --- a/components/postgresql/postgresql.app.mjs +++ b/components/postgresql/postgresql.app.mjs @@ -213,6 +213,9 @@ export default { * JSON-serializable object. */ async getSchema() { + const filter = this.$auth.pd_schema_explorer_retrieve_all ? + "NOT IN ('pg_catalog', 'information_schema')" : + "= 'public'"; const text = ` SELECT table_name AS "tableName", column_name AS "columnName", @@ -220,7 +223,7 @@ export default { data_type AS "dataType", column_default AS "columnDefault" FROM information_schema.columns - WHERE table_schema NOT IN ('pg_catalog', 'information_schema') + WHERE table_schema ${filter} ORDER BY table_name, ordinal_position `; diff --git a/components/postgresql/sources/new-column/new-column.mjs b/components/postgresql/sources/new-column/new-column.mjs index c09dfe325506e..2585db98b6c1b 100644 --- a/components/postgresql/sources/new-column/new-column.mjs +++ b/components/postgresql/sources/new-column/new-column.mjs @@ -5,7 +5,7 @@ export default { name: "New Column", key: "postgresql-new-column", description: "Emit new event when a new column is added to a table. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "source", props: { ...common.props, diff --git a/components/postgresql/sources/new-or-updated-row/new-or-updated-row.mjs b/components/postgresql/sources/new-or-updated-row/new-or-updated-row.mjs index ec64ec58c66a9..980335e289df2 100644 --- a/components/postgresql/sources/new-or-updated-row/new-or-updated-row.mjs +++ b/components/postgresql/sources/new-or-updated-row/new-or-updated-row.mjs @@ -5,7 +5,7 @@ export default { name: "New or Updated Row", key: "postgresql-new-or-updated-row", description: "Emit new event when a row is added or modified. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "source", dedupe: "unique", props: { diff --git a/components/postgresql/sources/new-row-custom-query/new-row-custom-query.mjs b/components/postgresql/sources/new-row-custom-query/new-row-custom-query.mjs index e0859460167ea..4c38d193edc1b 100644 --- a/components/postgresql/sources/new-row-custom-query/new-row-custom-query.mjs +++ b/components/postgresql/sources/new-row-custom-query/new-row-custom-query.mjs @@ -5,7 +5,7 @@ export default { name: "New Row Custom Query", key: "postgresql-new-row-custom-query", description: "Emit new event when new rows are returned from a custom query that you provide. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "source", dedupe: "unique", props: { diff --git a/components/postgresql/sources/new-row/new-row.mjs b/components/postgresql/sources/new-row/new-row.mjs index c51deb369a41f..a27c3e9ff247c 100644 --- a/components/postgresql/sources/new-row/new-row.mjs +++ b/components/postgresql/sources/new-row/new-row.mjs @@ -5,7 +5,7 @@ export default { name: "New Row", key: "postgresql-new-row", description: "Emit new event when a new row is added to a table. [See the documentation](https://node-postgres.com/features/queries)", - version: "3.0.6", + version: "3.0.7", type: "source", dedupe: "unique", props: { diff --git a/components/postgresql/sources/new-table/new-table.mjs b/components/postgresql/sources/new-table/new-table.mjs index d8863e0cfbe20..3b9bdd2928cbb 100644 --- a/components/postgresql/sources/new-table/new-table.mjs +++ b/components/postgresql/sources/new-table/new-table.mjs @@ -5,7 +5,7 @@ export default { name: "New Table", key: "postgresql-new-table", description: "Emit new event when a new table is added to the database. [See the documentation](https://node-postgres.com/features/queries)", - version: "2.0.6", + version: "2.0.7", type: "source", props: { ...common.props, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eebab3aad9d3c..c7f211010e630 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15301,14 +15301,6 @@ importers: specifier: ^6.0.0 version: 6.2.0 - modelcontextprotocol/node_modules2/@modelcontextprotocol/sdk/dist/cjs: {} - - modelcontextprotocol/node_modules2/@modelcontextprotocol/sdk/dist/esm: {} - - modelcontextprotocol/node_modules2/zod-to-json-schema/dist/cjs: {} - - modelcontextprotocol/node_modules2/zod-to-json-schema/dist/esm: {} - packages/browsers: dependencies: '@sparticuz/chromium':