4 ms·
> > Wouldn't it be nice to be able to write a trigger that called a web service? > Rather you than me. Yes, don't do that. Instead consume notification strea
by cryptonector 3y ago
> > Wouldn't it be nice to be able to write a trigger that called a web service?
> Rather you than me.
Yes, don't do that. Instead consume notification streams or logical replication streams and act on those -- sure, you'll now have an eventually consistent system, but you won't have a web service keeping your transactions from making progress. You don't want to engage in blocking I/O in your triggers.