Cannot execute UNLISTEN during recovery
The error message that im experiencing is coming from the Postgres .
I tried to overcome the issue by adding the parameter to the connection string while connecting to the Postgres. i tried-
pooling=false
and also
No Reset On Close=true
to overcome the issue but it didnt work.
i submitted a ticket but I need help ASAp.
Thank you
-
It seems that the DB is currently in recovery mode (called 'hot standby') and therefore querying (or LISTEN/UNLISTEN/NOTIFY events) are not possible in this state according to PostgreSQL documentation.
Try to run the build when the DB is finished its recovery or standby mode.
-
I was able to resolve using the Web ECM and adding the Additional parameter: NoResetOnClose=true
to all DB connections to the read replica databases we used. No issue with the UNLISTEN error after that.
There is no way to configure DB parameters in the Desktop ECM, so all cubes had to be updated using Web. When editing tables with custom queries, copy the current query using Edit Table option. Then choose Edit Connection, add the parameter, then select database then add new Custom Query and paste the query from earlier. Click OK the connection will be updated.
Please sign in to leave a comment.
Comments
4 comments