I have dozens of legacy stored procedures which create temporary tables inside for collecting results for a read-only application.
I've created a read-replica of my PostgreSQL in Amazon RDS and tried to perform this procedures, but failed, as it doesn't allow to create even temporary tables in a read-only transaction.
Are any ways how to solve this issue with minimal efforts?