feat: add PostgreSQL adapter #1
Annotations
3 errors
|
postgresql (14)
Process completed with exit code 1.
|
|
test/postgresql.test.ts > PostgreSQL adapter > runs outboxes, reconciliation, and retention on PostgreSQL:
src/database/postgresql.ts#L26
error: subquery in FROM must have an alias
❯ node_modules/.pnpm/pg@8.23.0/node_modules/pg/lib/client.js:694:17
❯ PostgreSQLConnection.get src/database/postgresql.ts:26:20
❯ Repository.enqueueInTransaction src/repository.ts:213:18
❯ PostgreSQLDatabase.transaction src/database/postgresql.ts:112:22
❯ SolidObjectsRuntime.enqueue src/runtime.ts:1052:21
❯ SolidObjectsRuntime.invoke src/runtime.ts:327:30
❯ test/postgresql.test.ts:159:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 138, severity: 'ERROR', code: '42601', detail: undefined, hint: 'For example, FROM (SELECT ...) [AS] foo.', position: '31', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'gram.y', routine: 'base_yyparse' }
|
|
test/postgresql.test.ts > PostgreSQL adapter > installs and allocates ordered sequences under concurrent enqueue:
src/database/postgresql.ts#L26
error: subquery in FROM must have an alias
❯ node_modules/.pnpm/pg@8.23.0/node_modules/pg/lib/client.js:694:17
❯ PostgreSQLConnection.get src/database/postgresql.ts:26:20
❯ Repository.enqueueInTransaction src/repository.ts:213:18
❯ PostgreSQLDatabase.transaction src/database/postgresql.ts:112:22
❯ SolidObjectsRuntime.enqueue src/runtime.ts:1052:21
❯ test/postgresql.test.ts:106:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 138, severity: 'ERROR', code: '42601', detail: undefined, hint: 'For example, FROM (SELECT ...) [AS] foo.', position: '31', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'gram.y', routine: 'base_yyparse' }
|