postgres not deleting trigger file - Mailing list pgsql-admin

From jkilborn
Subject postgres not deleting trigger file
Date
Msg-id 1438692397419-5860795.post@n5.nabble.com
Whole thread Raw
Responses Re: postgres not deleting trigger file
List pgsql-admin
Im using postgres 9.4 with pgpool-II-94 and have streaming resplication setup
between two db servers. When I fail the primary db, pgpool creates the
/tmp/trigger_file, and the secondary server becomes the primary and is put
in read/write mode. However, the trigger file doesnt get deleted. I am not
sure where to debug why the trigger file doesnt get removed.

I have even tried using a recover_end_command to remove the trigger file,
but that doesnt seem to happen.

my failover script for pgpool creates the trigger file, then set it to chmod
777 so that postgres user can remove it. pgpool runs as root, while postgres
runs as postgres user.

Any ideas where to look on this issue of trigger file not being removed?





--
View this message in context: http://postgresql.nabble.com/postgres-not-deleting-trigger-file-tp5860795.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


pgsql-admin by date:

Previous
From: Elías David
Date:
Subject: Performance differences between fdw and view+fdw
Next
From: John Scalia
Date:
Subject: Re: postgres not deleting trigger file