[COMMITTERS] pgsql: Relocate static function declarations to be after typedefs injs - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Relocate static function declarations to be after typedefs injs
Date
Msg-id E1cVNV9-0003zJ-VN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Relocate static function declarations to be after typedefs in jsonfuncs.c.

Project style is to put things in this order, for the good and sufficient
reason that you often need the typedefs in the function declarations.
There already was one function declaration that needed a typedef, which
was randomly placed away from all the other static function declarations
in consequence.  And the submitted patch for better json_populate_record
functionality jumped through even more hoops in order to preserve this
bad idea.

This patch only moves lines from point A to point B, no other changes.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/90992e0e2f9fc4aa0f6402f0327604e5fef4630c

Modified Files
--------------
src/backend/utils/adt/jsonfuncs.c | 215 +++++++++++++++++++-------------------
1 file changed, 108 insertions(+), 107 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Remove no-longer-needed loop in ExecGather().
Next
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: pg_dump: Fix minor memory leak