pgsql-test 2.17.2 → 2.17.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/admin.js +3 -0
  2. package/esm/admin.js +3 -0
  3. package/package.json +10 -10
package/admin.js CHANGED
@@ -151,6 +151,9 @@ $$;
151
151
  WHEN duplicate_object THEN
152
152
  -- Role already exists; optionally sync attributes here with ALTER ROLE
153
153
  NULL;
154
+ WHEN unique_violation THEN
155
+ -- Concurrent CREATE ROLE hit unique index; safe to ignore
156
+ NULL;
154
157
  END;
155
158
 
156
159
  -- CI/CD concurrency note: GRANT role membership can race on pg_auth_members unique index
package/esm/admin.js CHANGED
@@ -148,6 +148,9 @@ $$;
148
148
  WHEN duplicate_object THEN
149
149
  -- Role already exists; optionally sync attributes here with ALTER ROLE
150
150
  NULL;
151
+ WHEN unique_violation THEN
152
+ -- Concurrent CREATE ROLE hit unique index; safe to ignore
153
+ NULL;
151
154
  END;
152
155
 
153
156
  -- CI/CD concurrency note: GRANT role membership can race on pg_auth_members unique index
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgsql-test",
3
- "version": "2.17.2",
3
+ "version": "2.17.3",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "pgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution",
6
6
  "main": "index.js",
@@ -57,19 +57,19 @@
57
57
  "devDependencies": {
58
58
  "@types/pg": "^8.16.0",
59
59
  "@types/pg-copy-streams": "^1.2.5",
60
- "makage": "^0.1.8"
60
+ "makage": "^0.1.9"
61
61
  },
62
62
  "dependencies": {
63
- "@pgpmjs/core": "^3.0.6",
64
- "@pgpmjs/env": "^2.8.4",
65
- "@pgpmjs/logger": "^1.3.4",
66
- "@pgpmjs/server-utils": "^2.8.6",
67
- "@pgpmjs/types": "^2.12.4",
63
+ "@pgpmjs/core": "^3.0.7",
64
+ "@pgpmjs/env": "^2.8.5",
65
+ "@pgpmjs/logger": "^1.3.5",
66
+ "@pgpmjs/server-utils": "^2.8.7",
67
+ "@pgpmjs/types": "^2.12.5",
68
68
  "csv-parse": "^6.1.0",
69
69
  "pg": "^8.16.3",
70
- "pg-cache": "^1.6.6",
70
+ "pg-cache": "^1.6.7",
71
71
  "pg-copy-streams": "^7.0.0",
72
- "pg-env": "^1.2.3"
72
+ "pg-env": "^1.2.4"
73
73
  },
74
- "gitHead": "22cfe32e994e26a6490e04e28bab26d1e7e6345c"
74
+ "gitHead": "e45ec95404e48d0c0542da882a3baea0cd6de1c7"
75
75
  }