pgsql: Move the "instr_time" typedef and associated macros into a new

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move the "instr_time" typedef and associated macros into a new
Date: 2008-05-14 19:10:29
Message-ID: 20080514191029.B74917559E9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/commands:
explain.c (r1.174 -> r1.175)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/explain.c?r1=1.174&r2=1.175)
pgsql/src/backend/executor:
instrument.c (r1.20 -> r1.21)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/instrument.c?r1=1.20&r2=1.21)
pgsql/src/bin/psql:
command.c (r1.188 -> r1.189)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/command.c?r1=1.188&r2=1.189)
common.c (r1.138 -> r1.139)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/common.c?r1=1.138&r2=1.139)
common.h (r1.56 -> r1.57)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/common.h?r1=1.56&r2=1.57)
pgsql/src/include:
Makefile (r1.24 -> r1.25)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/Makefile?r1=1.24&r2=1.25)
pgsql/src/include/executor:
instrument.h (r1.18 -> r1.19)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/instrument.h?r1=1.18&r2=1.19)

Added Files:
-----------
pgsql/src/include/portability:
instr_time.h (r1.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/portability/instr_time.h?rev=1.1&content-type=text/x-cvsweb-markup)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mkz 2008-05-14 19:57:25 plproxy - plproxy: bump version to 2.0.5rc1
Previous Message Tom Lane 2008-05-14 19:05:41 pgsql: New Directory