pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Piotr Stefaniak <postgres@piotr-stefaniak.me>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)
Date: Mon, 22 May 2017 05:16:17 +0000
Message-ID: <VI1PR03MB1199185D2686DB7D7818DBBDF2F80@VI1PR03MB1199.eurprd03.prod.outlook.com> (raw)
In-Reply-To: <51717.1495410614@sss.pgh.pa.us>
References: <20170517171600.fyxl3lhseszeuqrx@alvherre.pgsql>
	<AM3PR03MB1188858CCD55BC737C856F65F2E70@AM3PR03MB1188.eurprd03.prod.outlook.com>
	<880.1495045872@sss.pgh.pa.us>
	<VI1PR03MB119946C58CB0DD179DE43AD7F2E70@VI1PR03MB1199.eurprd03.prod.outlook.com>
	<5316.1495051919@sss.pgh.pa.us>
	<VI1PR03MB11999517FAD86D2C02407272F2E70@VI1PR03MB1199.eurprd03.prod.outlook.com>
	<11874.1495057567@sss.pgh.pa.us>
	<VI1PR03MB119987EDC3126CD6A56CF29CF2E40@VI1PR03MB1199.eurprd03.prod.outlook.com>
	<15819.1495145176@sss.pgh.pa.us>
	<VI1PR03MB1199E65EFAE1C1EE8E02D040F2FB0@VI1PR03MB1199.eurprd03.prod.outlook.com>
	<51717.1495410614@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2017-05-22 01:50, Tom Lane wrote:
> Being lazy, I just wiped my copy and re-cloned, but it still seems the
> same as before ... last commit on the pass3 branch is from Mar 4.
> What branch should I be paying attention to?

Sorry for the trouble, this is because I interactively git-rebased it in
order to rewrite history. I do this to limit the number of commits to
the FreeBSD repository. Next time I'll leave fix-ups in chronological
order and meld them with what they fix just before committing to the
FreeBSD repository.

pass3 is the right branch. A fresh clone should have worked as in the
attached log.

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

Attachments:

indent-log.txt (text/plain, 3.2K) download me@t520 /tmp> git clone https://github.com/pstef/freebsd_indent Cloning into 'freebsd_indent'... remote: Counting objects: 640, done. remote: Compressing objects: 100% (55/55), done. remote: Total 640 (delta 128), reused 151 (delta 116), pack-reused 469 Receiving objects: 100% (640/640), 270.61 KiB | 66.00 KiB/s, done. Resolving deltas: 100% (409/409), done. Checking connectivity... done. me@t520 /tmp> cd freebsd_indent me@t520 /t/freebsd_indent> bmake CC=clang CFLAGS='-D__FBSDID="static char *rcsid=" -g -O0' clang -D__FBSDID="static char *rcsid=" -g -O0 -c indent.c clang -D__FBSDID="static char *rcsid=" -g -O0 -c io.c clang -D__FBSDID="static char *rcsid=" -g -O0 -c lexi.c clang -D__FBSDID="static char *rcsid=" -g -O0 -c parse.c clang -D__FBSDID="static char *rcsid=" -g -O0 -c pr_comment.c clang -D__FBSDID="static char *rcsid=" -g -O0 -c args.c clang -o indent indent.o io.o lexi.o parse.o pr_comment.o args.o nroff -man indent.1 > indent.cat1 me@t520 /t/freebsd_indent> cp ~/postgres/freebsd_indent/test.c . me@t520 /t/freebsd_indent> ./indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l79 -lp -nip -npro -bbb -cli1 -U/home/me/pgindent-test/git/src/tools/pgindent/typedefs.list < test.c typedef struct GinBtreeData { /* search methods */ BlockNumber (*findChildPage) (GinBtree, GinBtreeStack *); BlockNumber (*getLeftMostChild) (GinBtree, Page); bool (*isMoveRight) (GinBtree, Page); bool (*findItem) (GinBtree, GinBtreeStack *); /* insert methods */ OffsetNumber (*findChildPtr) (GinBtree, Page, BlockNumber, OffsetNumber); GinPlaceToPageRC (*beginPlaceToPage) (GinBtree, Buffer, GinBtreeStack *, void *, BlockNumber, void **, Page *, Page *); void (*execPlaceToPage) (GinBtree, Buffer, GinBtreeStack *, void *, BlockNumber, void *); } void hardclock_device_poll(void) { const unsigned (*TABLE_index)[2]; if (stat(pg_data, &statbuf) != 0) { /* * The Linux Standard Base Core Specification 3.1 says this should * return '4, program or service status is unknown' * https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-g * eneric/iniscrptact.html */ exit(is_status_request ? 4 : 1); } } me@t520 /t/freebsd_indent> cat test.c typedef struct GinBtreeData { /* search methods */ BlockNumber (*findChildPage) (GinBtree, GinBtreeStack *); BlockNumber (*getLeftMostChild) (GinBtree, Page); bool (*isMoveRight) (GinBtree, Page); bool (*findItem) (GinBtree, GinBtreeStack *); /* insert methods */ OffsetNumber (*findChildPtr) (GinBtree, Page, BlockNumber, OffsetNumber); GinPlaceToPageRC (*beginPlaceToPage) (GinBtree, Buffer, GinBtreeStack *, void *, BlockNumber, void **, Page *, Page *); void (*execPlaceToPage) (GinBtree, Buffer, GinBtreeStack *, void *, BlockNumber, void *); } void hardclock_device_poll(void) { const unsigned (*TABLE_index)[2]; if (stat(pg_data, &statbuf) != 0) { /* * The Linux Standard Base Core Specification 3.1 says this should * return '4, program or service status is unknown' * https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-g * eneric/iniscrptact.html */ exit(is_status_request ? 4 : 1); } } me@t520 /t/freebsd_indent>

view thread (37+ messages)  latest in thread

Message-ID: <VI1PR03MB1199185D2686DB7D7818DBBDF2F80@VI1PR03MB1199.eurprd03.prod.outlook.com>
Permalink:  ../VI1PR03MB1199185D2686DB7D7818DBBDF2F80@VI1PR03MB1199.eurprd03.prod.outlook.com/
Also on:    postgresql.org/message-id/VI1PR03MB1199185D2686DB7D7818DBBDF2F80@VI1PR03MB1199.eurprd03.prod.outlook.com

 · 

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: postgres@piotr-stefaniak.me, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, peter.eisentraut@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)
  In-Reply-To: <VI1PR03MB1199185D2686DB7D7818DBBDF2F80@VI1PR03MB1199.eurprd03.prod.outlook.com>
  References: <20170517171600.fyxl3lhseszeuqrx@alvherre.pgsql> <AM3PR03MB1188858CCD55BC737C856F65F2E70@AM3PR03MB1188.eurprd03.prod.outlook.com> <880.1495045872@sss.pgh.pa.us> <VI1PR03MB119946C58CB0DD179DE43AD7F2E70@VI1PR03MB1199.eurprd03.prod.outlook.com> <5316.1495051919@sss.pgh.pa.us> <VI1PR03MB11999517FAD86D2C02407272F2E70@VI1PR03MB1199.eurprd03.prod.outlook.com> <11874.1495057567@sss.pgh.pa.us> <VI1PR03MB119987EDC3126CD6A56CF29CF2E40@VI1PR03MB1199.eurprd03.prod.outlook.com> <15819.1495145176@sss.pgh.pa.us> <VI1PR03MB1199E65EFAE1C1EE8E02D040F2FB0@VI1PR03MB1199.eurprd03.prod.outlook.com> <51717.1495410614@sss.pgh.pa.us> <VI1PR03MB1199185D2686DB7D7818DBBDF2F80@VI1PR03MB1199.eurprd03.prod.outlook.com>

* 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