pgsql: Restructure the pg_upgrade code to use several global structures

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Restructure the pg_upgrade code to use several global structures
Date: 2010-10-19 21:38:37
Message-ID: E1P8JtF-0008U8-Jv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Restructure the pg_upgrade code to use several global structures rather
than packing everything into 'ctx' and passing that to every function.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e13f7e9a711c9117e438516537066bbe61df6455

Modified Files
--------------
contrib/pg_upgrade/check.c | 299 +++++++++++++++++-----------------
contrib/pg_upgrade/controldata.c | 182 ++++++++++----------
contrib/pg_upgrade/dump.c | 28 ++--
contrib/pg_upgrade/exec.c | 62 ++++----
contrib/pg_upgrade/file.c | 22 ++--
contrib/pg_upgrade/function.c | 94 ++++++------
contrib/pg_upgrade/info.c | 116 +++++++-------
contrib/pg_upgrade/option.c | 141 ++++++++--------
contrib/pg_upgrade/page.c | 26 ++--
contrib/pg_upgrade/pg_upgrade.c | 287 ++++++++++++++++----------------
contrib/pg_upgrade/pg_upgrade.h | 177 +++++++++++----------
contrib/pg_upgrade/relfilenode.c | 84 +++++-----
contrib/pg_upgrade/server.c | 114 ++++++-------
contrib/pg_upgrade/tablespace.c | 53 +++---
contrib/pg_upgrade/util.c | 76 +++++----
contrib/pg_upgrade/version.c | 25 ++--
contrib/pg_upgrade/version_old_8_3.c | 166 +++++++++----------
17 files changed, 976 insertions(+), 976 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2010-10-19 22:37:22 pgsql: Pgindent run on pg_upgrade source after restructuring.
Previous Message Tom Lane 2010-10-19 19:11:22 pgsql: Fix incorrect generation of whole-row variables in planner.

Browse pgsql-hackers by date

  From Date Subject
Next Message Terry Laurenzo 2010-10-19 21:39:53 Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)
Previous Message Marios Vodas 2010-10-19 21:35:59 Re: gist DatumGetPointer returns pointer to corrupted data