T
Thomas Reat
I'm using postgresql with DBI, I do a "listen foo" and every minute or
so I do a func('pg_notifies'). If I restart the database server, the
perl script needs to know to reconnect. What is the right way to
determine this? I get the message below when it's restarted, so
obviously something knows about it.
WARNING: Message from PostgreSQL backend:
The Postmaster has informed me that some other backend
died abnormally and possibly corrupted shared memory.
I have rolled back the current transaction and am
going to terminate your database system connection and exit.
Please reconnect to the database system and repeat your query.
so I do a func('pg_notifies'). If I restart the database server, the
perl script needs to know to reconnect. What is the right way to
determine this? I get the message below when it's restarted, so
obviously something knows about it.
WARNING: Message from PostgreSQL backend:
The Postmaster has informed me that some other backend
died abnormally and possibly corrupted shared memory.
I have rolled back the current transaction and am
going to terminate your database system connection and exit.
Please reconnect to the database system and repeat your query.