I have come across the same problem, I think the only way was to use PostgreSQL wire protocol
. But if the flag pg.security.readonly
is set to true
, you will need to change it. You will also need to run it in a retry/backoff
loop to avoid the table busy [reason=insert]
error.