]> granicus.if.org Git - postgresql/commit
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)
commit3bc25384d7a698f25e418bdc5aa7cdd038477d9c
tree0d17e084e418a335ec4eb48470bf7847a9102a6e
parent719a115874226f6e294a7d1d81d7a8ae559768ad
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]