pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pgindent weirdness
Date: Thu, 10 Jul 2014 14:03:25 -0400
Message-ID: <20140710180325.GA7366@momjian.us> (raw)
In-Reply-To: <CA+Tgmoa2LSKavzzE=YSXA4Xua0e+yaD2wY73tfKfAPFp4by8dQ@mail.gmail.com>
References: <CA+Tgmoa2LSKavzzE=YSXA4Xua0e+yaD2wY73tfKfAPFp4by8dQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Thu, Jul 10, 2014 at 12:02:50PM -0400, Robert Haas wrote:
> In contrib/test_shm_mq/test.c, the 9.4 pgindent run
> (0a7832005792fa6dad171f9cadb8d587fe0dd800) did this:
> 
> -PG_MODULE_MAGIC;
> -PG_FUNCTION_INFO_V1(test_shm_mq);
> +PG_MODULE_MAGIC; PG_FUNCTION_INFO_V1(test_shm_mq);
>  PG_FUNCTION_INFO_V1(test_shm_mq_pipelined);
> 
> This is obviously not an improvement.  Is there some formatting rule
> that I violated in the original code that lead to this, or what?

Uh, ever other case of PG_MODULE_MAGIC had blank lines before/after this
define.  I went and added that to test_shm_mq/test.c, and adjusted other
blank lines to be consistent.  I did not modify 9.4 as this cosmetic.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


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



view thread (51+ messages)  latest in thread

Message-ID: <20140710180325.GA7366@momjian.us>
Permalink:  ../20140710180325.GA7366@momjian.us/
Also on:    postgresql.org/message-id/20140710180325.GA7366@momjian.us

 · 

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-hackers@postgresql.org
  Cc: bruce@momjian.us, robertmhaas@gmail.com
  Subject: Re: pgindent weirdness
  In-Reply-To: <20140710180325.GA7366@momjian.us>
  References: <CA+Tgmoa2LSKavzzE=YSXA4Xua0e+yaD2wY73tfKfAPFp4by8dQ@mail.gmail.com> <20140710180325.GA7366@momjian.us>

* 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