<div dir="ltr">Hi all,<div><br><div>I want to understand if there are any reason for that would not be advised to restore a database using pg_restore through pgpool2 and not directly connecting to the PostgreSQL primary node.</div></div><div><br></div><div>I am asking this because trying that I am receiving the following error when psql tries to connect to the new database after creating it:</div><div><br></div><div>\connect pippo<br>psql:psql_no_sleep.sql:39: \connect: ERROR:  unable to read message kind<br>DETAIL:  kind does not match between main(45) slot[1] (53)<br></div><div><br></div><div>The strange thing is that on the standby nodes I get a "database does not exist" error.</div><div><br></div><div>Are you aware that I'm doing something bad?</div><div><br></div><div>Thank you very much!</div><div>Bye</div></div>