when I connect to the PostgreSQL Database from localhost then sometimes it gives Error: Server Closed the connection unexpectedly although when execute the command again immediately then connection gets established. but it become a problem because I am using batch files for backups. and sometimes pg_dumpall and pg_dump command also gives Error: Server Closed the connection unexpectedly. and this interrupts my scheduled backups. I have PostgreSQL 12.10 installed on Windows.
-
Does this occur immediately upon trying to connect, or does it occur after the connection is already established? Is there a corresponding message in the database log file?jjanes– jjanes2023-12-07 13:53:39 +00:00Commented Dec 7, 2023 at 13:53
-
Yes, This occurs immediately upon trying to connect.Jaikaran saini– Jaikaran saini2023-12-08 08:55:36 +00:00Commented Dec 8, 2023 at 8:55
Add a comment
|