Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyQ8x-0002AC-PX for pgsql-committers@arkaria.postgresql.org; Sat, 30 Sep 2017 22:21:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dyQ8x-00044l-CI for pgsql-committers@arkaria.postgresql.org; Sat, 30 Sep 2017 22:21:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dyQ8h-0003Rk-I7 for pgsql-committers@postgresql.org; Sat, 30 Sep 2017 22:21:39 +0000 Received: from mail-yw0-x22d.google.com ([2607:f8b0:4002:c05::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dyQ8e-0005uD-Ib for pgsql-committers@postgresql.org; Sat, 30 Sep 2017 22:21:38 +0000 Received: by mail-yw0-x22d.google.com with SMTP id w9so1721390ywi.11 for ; Sat, 30 Sep 2017 15:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=nbfrwMh/EHNafLw8LVl/zPREuIG9S7m09bbznlvnJxs=; b=g4gVJ10EKPGPhvu9xP0fGqUV/OJPc8bk5dfTOmTW4VnRIHlFPLku2ywM/jmerCSbuu /VRgB/aZurJk6Xx0sEpWTlWHHHSsLfjpkp3zCsClj9ZYfobt24Qudw9zbx5tzw3cGFVM h4QKdVLQLl3OpzZW+yV9v2MgpiFcgtw6e4OPYHymUcbQk2YdbbWvBwdpLPqeogZoC6tb EZhe5SKXiaCmHT2wGkpEWyo+AN+Ih7KQisC+hFpJrHySSOrQRRYmSy4ANFI58P1kstc5 JOMbEMuMTxLdjqMEjZ9HHs5sY/JbRIQsDhsQ92OAtveyqCikTdL9JE1o4irsxEIxLnzk fe9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=nbfrwMh/EHNafLw8LVl/zPREuIG9S7m09bbznlvnJxs=; b=epfYvJLH8j7DIMU134kS62g45wzNzYaIaD+ogzr889SqvgFuKBIoxh17MKeSGWYMbf ciy8U/4Vs3jtB5LG+IzSJcuh4Tsu7YUZaLsDR961vNZmmsZB0SPmCGeDdTjtzPK2RBhg Bm4KTTG7610GJb5k7+RGoy7PW5XogLRQjNFUQ/g/ezWCHAqY9IcKEleqt0l3ZhzRwALY GWlTXjtPxLfqt6zQk1yQMT5oHS6dInnA81pKoBK3QdfTROnVB6rE8+FSvncnK9J0Ioi6 A3AznulArC2ZTwkXZM5l8DIZeOYvbTcEU+rXxvJeDy4lFPhpFrOAqwAMsDNkC0O4THu4 hizA== X-Gm-Message-State: AHPjjUh/2jYWqLgUxSJxFfLDgRwNDOIfs1Jk70unghy59Wv2Bbnhc8Kb qmCqD/UX4GEG1r2I5zYkAWPffdOv+8BUTcPWYASAdJaCidplMDw4eD0rv8ll7rSWP/grWsq/hdU JfNU79M5J2etgls0ovHKBel7ic6gEd334/qnbyOnK2753518BRBoAKkdZv2DEI8CArjHKKy3vrR 7NbySIeQp45wZ7qqsh X-Google-Smtp-Source: AOwi7QDx7pN+8RfhPtaIko7aB/nod5ADJBTfHl6p/ogMj0H7KPgSdNRJ0gHUzagNElofiTfIts6Iqg== X-Received: by 10.129.85.88 with SMTP id j85mr9230194ywb.214.1506810095237; Sat, 30 Sep 2017 15:21:35 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id g189sm445016ywf.45.2017.09.30.15.21.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Sep 2017 15:21:34 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Add test for postmaster crash restarts. To: Andres Freund Cc: Tom Lane , pgsql-committers References: <5250.1505793335@sss.pgh.pa.us> <8818AEBD-57F7-420D-8348-CDB426020BFE@anarazel.de> <17084.1505837634@sss.pgh.pa.us> <20170919164718.66hcedq2rtlkntvf@alap3.anarazel.de> <18695.1505840008@sss.pgh.pa.us> <20170919174232.soc2skrqxxdtnh22@alap3.anarazel.de> <21486.1506601297@sss.pgh.pa.us> <5ce9b1f4-dff8-6fe9-74ab-d8e1b993b1d5@2ndQuadrant.com> <20170930221043.iay4s7rmwm5l7wiw@alap3.anarazel.de> Message-ID: <56b65da3-f7cc-494c-7952-ba5f6c804d7e@2ndQuadrant.com> Date: Sat, 30 Sep 2017 18:21:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170930221043.iay4s7rmwm5l7wiw@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org [re-adding commiters which I inadvertently left off] On 09/30/2017 06:10 PM, Andres Freund wrote: > > >> I was just looking at this. Why aren't we using "pg_ctl kill" to >> terminate the backend? That's supposed to be portable. > Because pg_ctl can't do that for any process but postmaster, no? The > test is supposed to find issues with backend death (and has > defficiencies in error reporting already, and would have caught a bug > I'd introduced previously). > No, I don't think so. That's not what the docs say. That's why you give it a pid argument" "pg_ctl kill signal_name process_id" cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers