Ashwin Agrawal wrote: > Just curious to know, is promotion via function only allowed for > hot-standby or works for any standby?
Only for hot standby - how do you want to execute a function on a standby server that doesn't allow connections? Yours, Laurenz Albe