On Fri, Oct 6, 2017 at 9:19 PM, tushar <tushar.ah...@enterprisedb.com> wrote: > 2017-10-06 13:15:34.785 BST [5680] LOG: background worker "parallel worker" > (PID 5964) exited with exit code 1 > ERROR: recovery is not in progress > HINT: Recovery control functions can only be executed during recovery. > CONTEXT: parallel worker
pg_wal_replay_pause() is a function marked as PARALLEL SAFE, meaning that it can be pushed down to parallel workers. Still, it can only be executed on standbys, so this would correctly fail with the error you are seeing here on a primary server. Perhaps there is a way to blacklist some functions depending on the server context. This question may be better asked directly where the project is maintained then: https://github.com/anse1/sqlsmith. I am adding as well Andreas in CC, he works on sqlsmith. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers