Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XwY3V-0003AS-Gz for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Dec 2014 15:10:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XwY3U-0006qX-Sx for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Dec 2014 15:10:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XwY3T-0006qM-Kk for pgsql-hackers@postgreSQL.org; Thu, 04 Dec 2014 15:10:55 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XwY3L-0002Fp-HA for pgsql-hackers@postgreSQL.org; Thu, 04 Dec 2014 15:10:53 +0000 Received: from ayaki.localdomain ([124.169.108.102]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0MHGPz-1YAWP43z5X-00E3eJ; Thu, 04 Dec 2014 16:10:42 +0100 Message-ID: <5480796B.7020203@2ndquadrant.com> Date: Thu, 04 Dec 2014 23:10:35 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: Alex Shulgin , Alvaro Herrera CC: Heikki Linnakangas , PostgreSQL-development Subject: Re: [COMMITTERS] pgsql: Keep track of transaction commit timestamps References: <54802C7F.90606@vmware.com> <87d27z4i0b.fsf@commandprompt.com> <20141204143555.GA26945@alvh.no-ip.org> <87388v4ggf.fsf@commandprompt.com> In-Reply-To: <87388v4ggf.fsf@commandprompt.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Ts37ycfHz7YCybglI/BdcMBES+8nMCaHfPleDIoeWor9YHVnlIA cw0y56WG1hFJWr8oXngec45X1zs3sFEMom5d/fw6GHdiyVCc6cQxk+yU3c2d/ynb+fpX9z6 YG8w1rS1KQJxRlrgFS/KPFZiuS6idtZ3U6eb5WmD0jE/P9e2KKoRRdFherWAWg16SK6vNbA 0xO8SRf+0q9yu6yiDx5tQ== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) 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 12/04/2014 10:50 PM, Alex Shulgin wrote: > Is there a way to pause the bootstrap process so I can attach gdb to it? With a newer gdb, you can instead tell gdb to follow all forks. I wrote some notes on it recently. http://blog.2ndquadrant.com/processes-breakpoints-watchpoints-postgresql/ I've found it really handy when debugging crashes in regression tests. However, it's often simpler to just: ulimit -c unlimited make check (or whatever your crashing test is) then look at the core files that are produced. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers