© 2026 Hedgehog Software, LLC
select... .for("update", { of: partnerWebhookDeliveriesTable, skipLocked: true, });
...limit $3 for update of "entities"."partner_webhook_deliveries" skip locked params: pending,2026-02-16T20:42:50.341Z,10 ❯ NodePgPreparedQuery.queryWithCache ../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/src/pg-core/session.ts:73:11 ❯ ../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/src/node-postgres/session.ts:154:19 ❯ fetchPendingDeliveries src/workers/webhook-delivery.ts:164:22 162| ); 163| 164| const newAttempts = delivery.delivery_attempts + 1; | ^ 165| const isSuccess = isStatusAllowed( 166| result.httpStatus, ❯ src/workers/webhook-delivery.ts:200:24 ❯ src/db.ts:122:21 ❯ NodePgSession.transaction ../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/src/node-postgres/session.ts:258:19 ❯ Database.withResultAwareTransaction src/db.ts:121:14 ❯ processWebhookDeliveryBatch src/workers/webhook-delivery.ts:199:3 ❯ src/workers/webhook-delivery.test.ts:270:7 Caused by: error: FOR UPDATE must specify unqualified relation names