pgsql: Support inlining various small performance-critical functions on

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Support inlining various small performance-critical functions on
Date: 2010-02-13 02:34:16
Message-ID: 20100213023416.CD4A37541C5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Support inlining various small performance-critical functions on non-GCC
compilers, by applying a configure check to see if the compiler will accept
an unreferenced "static inline foo ..." function without warnings. It is
believed that such warnings are the only reason not to declare inlined
functions in headers, if the compiler understands "inline" at all.

Kurt Harriman

Modified Files:
--------------
pgsql/config:
c-compiler.m4 (r1.19 -> r1.20)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/config/c-compiler.m4?r1=1.19&r2=1.20)
pgsql:
configure (r1.669 -> r1.670)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.669&r2=1.670)
configure.in (r1.621 -> r1.622)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.621&r2=1.622)
pgsql/src/backend/nodes:
list.c (r1.73 -> r1.74)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/list.c?r1=1.73&r2=1.74)
pgsql/src/backend/utils/mmgr:
mcxt.c (r1.68 -> r1.69)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mmgr/mcxt.c?r1=1.68&r2=1.69)
pgsql/src/include/nodes:
pg_list.h (r1.62 -> r1.63)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/pg_list.h?r1=1.62&r2=1.63)
pgsql/src/include:
pg_config.h.in (r1.145 -> r1.146)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.in?r1=1.145&r2=1.146)
pg_config.h.win32 (r1.66 -> r1.67)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.win32?r1=1.66&r2=1.67)
pgsql/src/include/port:
win32.h (r1.91 -> r1.92)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32.h?r1=1.91&r2=1.92)
pgsql/src/include/portability:
instr_time.h (r1.5 -> r1.6)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/portability/instr_time.h?r1=1.5&r2=1.6)
pgsql/src/include/utils:
palloc.h (r1.42 -> r1.43)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/palloc.h?r1=1.42&r2=1.43)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2010-02-13 03:38:26 pgsql: Remove tabs from sgml.
Previous Message Simon Riggs 2010-02-13 01:32:20 pgsql: Re-enable max_standby_delay = -1 using deadlock detection on