skip to Main Content

Migrate from H2 to PostgreSQL

I need to replace H2 with PostgreSQL at the WSO2 API Manager. Since there is currently data saved on H2, I need to pass it to PostgreSQL. I found the command SCRIPT TO 'dump.sql' to export the data to .sql…

VIEW QUESTION

Issues connecting to postgres – Postgresql

ConnectionRefusedError [SequelizeConnectionRefusedError]: connect ECONNREFUSED 127.0.0.1:5432 at Client._connectionCallback (/home/gene/capital_greek_project/api/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:131:24) at Client._handleErrorWhileConnecting (/home/gene/capital_greek_project/api/node_modules/pg/lib/client.js:305:19) at Client._handleErrorEvent (/home/gene/capital_greek_project/api/node_modules/pg/lib/client.js:315:19) at Connection.emit (node:events:527:28) at Socket.reportStreamError (/home/gene/capital_greek_project/api/node_modules/pg/lib/connection.js:52:12) at Socket.emit (node:events:527:28) at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { parent: Error: connect ECONNREFUSED 127.0.0.1:5432 at TCPConnectWrap.afterConnect…

VIEW QUESTION

Cursor not found – Postgresql

i have created procedure, inside used cursor to update the some data, while calling the procedure it's getting the error. create or REPLACE PROCEDURE bal_upd(p_id int) as $$ DECLARE rc record; ----- cursor bal_upd1 CURSOR (p_id int) for select *…

VIEW QUESTION
Back To Top
Search