Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zbtox-0007l4-DB for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Sep 2015 17:15:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zbtow-0003bD-O0 for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Sep 2015 17:15:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zbnhb-0000wk-IE for pgsql-bugs@postgresql.org; Tue, 15 Sep 2015 10:43:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZbnhY-0007Kf-2K for pgsql-bugs@postgresql.org; Tue, 15 Sep 2015 10:43:06 +0000 MIME-Version: 1.0 Subject: BUG #13620: Streaming replication process titles should use zero padding for TX ids. To: pgsql-bugs@postgresql.org From: juergen+postgresql@strobel.info Date: Tue, 15 Sep 2015 10:42:36 +0000 Message-ID: <20150915104236.2674.33056@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13620 Logged by: Jürgen Strobel Email address: juergen+postgresql@strobel.info PostgreSQL version: 9.4.4 Operating system: Linux, REL6 Description: Hello, I frequently use "watch ps xf" to monitor server restarts etc., it's really a great, simple and effective tool. But there is a minor formatting issue, which has caused considerable confusion not only for me already. For example: postgres$ ps xf ... /usr/pgsql-9.4/bin/postmaster -D /mnt/db/.../data ... \_ postgres: startup process recovering 00000005000004B500000007 ... \_ postgres: wal receiver process streaming 4B5/78A2C80 ... \_ postgres: wal sender process replication [local] streaming 4B5/78A2C80 From the last 2 lines I would guess at first glance that those processes are streaming segment "78" at the moment, while they really are at segment "07". It should be trivial to zero-pad this id. Best regards, Jürgen -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs