Re: pgindent weirdness - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pgindent weirdness
Date
Msg-id 20140710180325.GA7366@momjian.us
Whole thread Raw
In response to pgindent weirdness  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-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. +



pgsql-hackers by date:

Previous
From: Claudio Freire
Date:
Subject: Re: Minmax indexes
Next
From: Tom Lane
Date:
Subject: Re: IMPORT FOREIGN SCHEMA statement