Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X5Igu-0004cp-9C for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jul 2014 18:03:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X5Igt-0000zB-PZ for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jul 2014 18:03:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X5Igs-0000z2-QT for pgsql-hackers@postgresql.org; Thu, 10 Jul 2014 18:03:30 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1X5Igp-0005cA-C9 for pgsql-hackers@postgresql.org; Thu, 10 Jul 2014 18:03:29 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1X5Ign-0003Jb-Bj; Thu, 10 Jul 2014 14:03:25 -0400 Date: Thu, 10 Jul 2014 14:03:25 -0400 From: Bruce Momjian To: Robert Haas Cc: "pgsql-hackers@postgresql.org" Subject: Re: pgindent weirdness Message-ID: <20140710180325.GA7366@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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 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