Move the "instr_time" typedef and associated macros into a new header
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 May 2008 19:10:29 +0000 (19:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 May 2008 19:10:29 +0000 (19:10 +0000)
commit9c43309a8955ae7cd71ae00418428a23c095f789
treed34a6cddbfb4d1f1537d4c5cf957fbb3b591dac6
parent562f2ce84fd57d9f96824da7a01ba3a84c5ab04e
Move the "instr_time" typedef and associated macros into a new header
file portability/instr_time.h, and add a couple more macros to eliminate
some abstraction leakage we formerly had.  Also update psql to use this
header instead of its own copy of nearly the same code.

This commit in itself is just code cleanup and shouldn't change anything.
It lays some groundwork for the upcoming function-stats patch, though.
src/backend/commands/explain.c
src/backend/executor/instrument.c
src/bin/psql/command.c
src/bin/psql/common.c
src/bin/psql/common.h
src/include/Makefile
src/include/executor/instrument.h
src/include/portability/instr_time.h [new file with mode: 0644]