pgsql: instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY

Started by Alvaro Herreraabout 7 years ago5 messages
#1Alvaro Herrera
alvherre@alvh.no-ip.org

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: /messages/by-id/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(-)

#2Stephen Frost
sfrost@snowman.net
In reply to: Alvaro Herrera (#1)
Re: pgsql: instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY

Greetings,

* Alvaro Herrera (alvherre@alvh.no-ip.org) wrote:

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: /messages/by-id/alpine.DEB.2.21.1808111104320.1705@lancre

Haven't followed this closely, but the buildfarm (and my local build)
are quite unhappy about this patch..

Thanks!

Stephen

#3Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Stephen Frost (#2)
Re: pgsql: instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY

On 2018-Nov-21, Stephen Frost wrote:

Greetings,

* Alvaro Herrera (alvherre@alvh.no-ip.org) wrote:

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: /messages/by-id/alpine.DEB.2.21.1808111104320.1705@lancre

Haven't followed this closely, but the buildfarm (and my local build)
are quite unhappy about this patch..

Yeah, looking into this mess already.

--
�lvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

#4Stephen Frost
sfrost@snowman.net
In reply to: Alvaro Herrera (#3)
Re: pgsql: instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY

Greetings,

* Alvaro Herrera (alvherre@2ndquadrant.com) wrote:

On 2018-Nov-21, Stephen Frost wrote:

* Alvaro Herrera (alvherre@alvh.no-ip.org) wrote:

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: /messages/by-id/alpine.DEB.2.21.1808111104320.1705@lancre

Haven't followed this closely, but the buildfarm (and my local build)
are quite unhappy about this patch..

Yeah, looking into this mess already.

Much better now, thanks!

Stephen

#5Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Stephen Frost (#4)
Re: pgsql: instr_time.h: add INSTR_TIME_SET_CURRENT_LAZY

On 2018-Nov-21, Stephen Frost wrote:

Greetings,

* Alvaro Herrera (alvherre@2ndquadrant.com) wrote:

Yeah, looking into this mess already.

Much better now, thanks!

Yay :-)

--
�lvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services