pgsql: instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY
Date: 2018-11-21 18:04:58
Message-ID: E1gPWry-0008Nl-4d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY

Sets the timestamp to current if not already set. Will acquire more
callers momentarily.

Author: Fabien Coelho
Discussion: https://postgr.es/m/alpine.DEB.2.21.1808111104320.1705@lancre

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6f7d02aa60b711c2a61d12b2f2f7ff4c5d5d6df4

Modified Files
--------------
src/backend/executor/instrument.c | 10 +++-------
src/include/portability/instr_time.h | 8 ++++++++
2 files changed, 11 insertions(+), 7 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2018-11-21 18:14:50 Re: pgsql: instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY
Previous Message Peter Eisentraut 2018-11-21 09:54:21 Re: pgsql: Remove WITH OIDS support, change oid catalog column visibility.

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-11-21 18:06:16 Re: Speeding up INSERTs and UPDATEs to partitioned tables
Previous Message Tom Lane 2018-11-21 18:03:36 Re: Need of maintaining unsupported release notes in HEAD?