From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add support for easily declaring static inline functions |
Date: | 2012-10-08 19:36:08 |
Message-ID: | E1TLJ7Y-0003dz-Pe@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add support for easily declaring static inline functions
We already had those, but they forced modules to spell out the function
bodies twice. Eliminate some duplicates we had already grown.
Extracted from a somewhat larger patch from Andres Freund.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/976fa10d20ec9882229020fa16f4d74263066a40
Modified Files
--------------
src/backend/nodes/list.c | 28 ++------------------
src/backend/utils/mmgr/mcxt.c | 25 ++----------------
src/backend/utils/sort/sortsupport.c | 47 ++-------------------------------
src/include/c.h | 18 +++++++++++++
src/include/nodes/pg_list.h | 22 ++++++++--------
src/include/utils/palloc.h | 14 ++++++---
src/include/utils/sortsupport.h | 22 ++++++++-------
7 files changed, 59 insertions(+), 117 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2012-10-08 21:33:54 | pgsql: Fix thinko in previous commit |
Previous Message | Robert Haas | 2012-10-08 14:16:18 | pgsql: Add #define for UUIDOID. |