pgsql: Simplify reindex_relation's API.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Simplify reindex_relation's API.
Date: 2011-04-16 21:26:58
Message-ID: E1QBD18-00036o-PB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Simplify reindex_relation's API.

For what seem entirely historical reasons, a bitmask "flags" argument was
recently added to reindex_relation without subsuming its existing boolean
argument into that bitmask. This seems a bit bizarre, so fold them
together.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2d3320d3d256eed7ea3deb8383348f2021e6a247

Modified Files
--------------
src/backend/catalog/index.c | 40 +++++++++++++++++++------------------
src/backend/commands/cluster.c | 6 ++--
src/backend/commands/indexcmds.c | 4 +-
src/backend/commands/tablecmds.c | 2 +-
src/include/catalog/index.h | 9 +++++--
5 files changed, 33 insertions(+), 28 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-04-16 23:29:33 pgsql: Add an Assert that indexam.c isn't used on an index awaiting rei
Previous Message Tom Lane 2011-04-16 20:40:54 pgsql: Clean up collation processing in prepunion.c.