Greg Smith <g...@2ndquadrant.com> writes: > One thing I am trying to avoid here is needing to check the system clock > after every buffer write.
On machines where gettimeofday is slow (and last I heard there were still lots of them), any such thing would be a disaster performance-wise. I'm still afraid to add more gettimeofday's into the query parse/plan/execute code path, even though it would greatly ease the problem of figuring out whether re-planning is worthwhile. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers