Hi Greg On 25.06.25 17:17, Greg Sabino Mullane wrote: > Seems transaction_read_only might be a more useful thing to examine? > That's the side-effect, if you will, that people really care about > when in hot standby mode (and of course, we can get into TRO other ways).
Good point. But wouldn't it mean that I would need to execute a query every time the prompt is refreshed? Since I cannot get the value of transaction_read_only via PQparameterStatus. I like the idea, but I'm concerned about the overhead. Best, Jim