MastraError: remaining connection slots are reserved for non-replication superuser connections
at PostgresStore.init (webpack-internal:///(rsc)/./node_modules/@mastra/pg/dist/index.js:4204:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
id: 'MASTRA_STORAGE_POSTGRES_STORE_INIT_FAILED',
domain: 'STORAGE',
category: 'THIRD_PARTY',
details: {},
[cause]: MastraError: remaining connection slots are reserved for non-replication superuser connections
id: 'MASTRA_STORAGE_PG_STORE_CREATE_TABLE_FAILED',
domain: 'STORAGE',
category: 'THIRD_PARTY',
details: { tableName: 'mastra_scorers' },
[cause]: error: remaining connection slots are reserved for non-replication superuser connections
MastraError: remaining connection slots are reserved for non-replication superuser connections
at PostgresStore.init (webpack-internal:///(rsc)/./node_modules/@mastra/pg/dist/index.js:4204:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
id: 'MASTRA_STORAGE_POSTGRES_STORE_INIT_FAILED',
domain: 'STORAGE',
category: 'THIRD_PARTY',
details: {},
[cause]: MastraError: remaining connection slots are reserved for non-replication superuser connections
id: 'MASTRA_STORAGE_PG_STORE_CREATE_TABLE_FAILED',
domain: 'STORAGE',
category: 'THIRD_PARTY',
details: { tableName: 'mastra_scorers' },
[cause]: error: remaining connection slots are reserved for non-replication superuser connections