Re: Does pg_stat_get_live_tuples() matter?

2019-04-13 Thread Schneider, Jeremy
> 6) Failovers, at least in Aurora, apparently cause pg_stat_reset() to be > run, at least judging by the timestamp I'm seeing in > pg_stat_bgwriter.stat_reset. We haven't done a failover in the data center in > a while, and it's less trivial for me to test there atm, so I'm not certain > whe

Re: Trigger when user logs in

2019-04-13 Thread Schneider, Jeremy
> On Apr 13, 2019, at 17:28, Schneider, Jeremy wrote: > >> On Apr 11, 2019, at 19:52, Tom Lane wrote: >> >> Ron writes: >>> I bet requests like this will start to make it onto the beaten path. >> >> Meh. I'm not that excited about inventin

Re: Trigger when user logs in

2019-04-13 Thread Schneider, Jeremy
> On Apr 11, 2019, at 19:52, Tom Lane wrote: > > Ron writes: >> I bet requests like this will start to make it onto the beaten path. > > Meh. I'm not that excited about inventing our own versions of wheels > that already exist, especially when there's nothing very Postgres-specific > about th