pgsql: Add support for easily declaring static inline functions - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Add support for easily declaring static inline functions
Date
Msg-id E1TLJ7Y-0003dz-Pe@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Add #define for UUIDOID.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Fix thinko in previous commit