pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Minor refactoring of btree_gist code.
Date: Thu, 26 Mar 2015 21:22:53 +0000
Message-ID: <E1YbFEr-0004Zj-T8@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Minor refactoring of btree_gist code.

The gbt_var_key_copy function was doing two different things depending on
the boolean argument. Seems cleaner to have two separate functions.

Remove unused argument from gbt_num_compress.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8816af65e4f8285d3ef73158b09490099921f870

Modified Files
--------------
contrib/btree_gist/btree_bit.c       |    2 +-
contrib/btree_gist/btree_cash.c      |    3 +-
contrib/btree_gist/btree_date.c      |    3 +-
contrib/btree_gist/btree_float4.c    |    3 +-
contrib/btree_gist/btree_float8.c    |    3 +-
contrib/btree_gist/btree_int2.c      |    3 +-
contrib/btree_gist/btree_int4.c      |    3 +-
contrib/btree_gist/btree_int8.c      |    3 +-
contrib/btree_gist/btree_macaddr.c   |    3 +-
contrib/btree_gist/btree_numeric.c   |    2 +-
contrib/btree_gist/btree_oid.c       |    3 +-
contrib/btree_gist/btree_time.c      |    3 +-
contrib/btree_gist/btree_ts.c        |    3 +-
contrib/btree_gist/btree_utils_num.c |    4 ++-
contrib/btree_gist/btree_utils_num.h |    3 +-
contrib/btree_gist/btree_utils_var.c |   57 +++++++++++++++++++---------------
contrib/btree_gist/btree_utils_var.h |    2 +-
17 files changed, 50 insertions(+), 53 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1YbFEr-0004Zj-T8@gemulon.postgresql.org>
Permalink:  ../E1YbFEr-0004Zj-T8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1YbFEr-0004Zj-T8@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Minor refactoring of btree_gist code.
  In-Reply-To: <E1YbFEr-0004Zj-T8@gemulon.postgresql.org>
  References: <E1YbFEr-0004Zj-T8@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox