Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n4ejl-0005AK-UD for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Jan 2022 08:00:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n4ejk-0006rf-PE for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Jan 2022 08:00:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n4ejk-0006rU-EL for pgsql-hackers@lists.postgresql.org; Tue, 04 Jan 2022 08:00:04 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n4eji-0003HK-Md for pgsql-hackers@lists.postgresql.org; Tue, 04 Jan 2022 08:00:03 +0000 Received: by mail-lf1-x12e.google.com with SMTP id u13so79824879lff.12 for ; Tue, 04 Jan 2022 00:00:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=CQ/aWg8z3W+SBPu0M/y3dLrHdJwavt7PBZ5RxgQBM+s=; b=JUroSyI+sXB7FmFw/xzTYU76nPnssVexzvLfWRdt5BhvcGoyfid2Lz/sHF0q1GyyxS 2DiP5XhwVCWiR/KeXtvTxPe505UYurKlEWYUIECbnDST8ikpmJT1wSv3Fs33yspxRxDX bM5Znt1/zCR93lISKUldSmimzzhgl1jUo1EWDW4BfMMWUmXDK9rFyEUeIGNmOVFUbOtY a+T+mXrKoxx4pvh6SUTnCSgroahzWbHgidr2KNia4erevrVq1Eqyqs98GF/Kahy3OpYm sEvSSW7ZzlrNw7XzetlL5PW8FzOAehJqjOndu0if1uX6lLSSZOCvjy0tlYVHDfXiZbSu N4zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=CQ/aWg8z3W+SBPu0M/y3dLrHdJwavt7PBZ5RxgQBM+s=; b=UPa+PDnocFlpgvMFVBXTQK85nh4eJUcLo27yL3HOnlctgiIsdluqDEBA2IM6GJap9Z kxTPyDqy8mxCD44xxkJvcB/FMy1B/iTwE8L/PXLLCSYdY/6j3VL3lUXGoVITy4naA1K6 RcsJLE4vjAlBUeBgTwPTGnA/j10CH5K33OjDK8sBCgEdA59Xz+E5SNbwi826hYZpPkHd fTGXyyhchaZwzkOlkmFl+F6FLbJxutpC3Yz+ob7O2I6ftmA03PaAQEkvKGsGULQBUe+E Oipcg/MgCez6eA8JaC2mhsxFd7990VRACAzDtlyu97g1FmtQCjNgrJ7Be2VK4YMt0t6d DXFw== X-Gm-Message-State: AOAM531cUZ+iYiuCCsb5XF6XeQgA/ZYenFITw6eS2wKViqDwhV8zH3oD JDoX6bFfg3VCeIJriqlOiOU= X-Google-Smtp-Source: ABdhPJzQOhDBxlzVbDKTzLgKMj6BQy7DCd7NlGPj7sZsHqli1dODU/pA4BpE/3DT5GjiJzfQaoBdcg== X-Received: by 2002:a05:6512:3b9f:: with SMTP id g31mr43258404lfv.361.1641283201958; Tue, 04 Jan 2022 00:00:01 -0800 (PST) Received: from [1.0.0.7] ([178.155.6.84]) by smtp.gmail.com with ESMTPSA id z22sm3534164lji.92.2022.01.04.00.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jan 2022 00:00:01 -0800 (PST) Subject: Re: Proposal: remove obsolete hot-standby testing infrastructure To: Tom Lane , pgsql-hackers@lists.postgresql.org Cc: Simon Riggs References: <3911012.1641246643@sss.pgh.pa.us> From: Alexander Lakhin Message-ID: <473567ce-ec6f-416f-fb0c-aba4e5480333@gmail.com> Date: Tue, 4 Jan 2022 11:00:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <3911012.1641246643@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Tom, 04.01.2022 00:50, Tom Lane wrote: > The attached proposed patch removes some ancient infrastructure for > manually testing hot standby. I doubt anyone has used this in years, > because AFAICS there is nothing here that's not done better by the > src/test/recovery TAP tests. (Or if there is, we ought to migrate > it into the TAP tests.) > > Thoughts? It's hardly that important, but we (Postgres Pro) run this test regularly to check for primary-standby compatibility. It's useful when checking binary packages from different minor versions. For example, we setup postgresql-14.0 and postgresql-14.1 aside (renaming one installation' directory and changing it's port) and perform the test. What've found with it was e.g. incompatibility due to linkage of different libicu versions (that was PgPro-only issue). I don't remember whether we found something related to PostgreSQL itself, but we definitely use this test and I'm not sure how to replace it in our setup with a TAP test. On the other hand, testing binaries is not accustomed in the community yet, so when such testing will be adopted, probably a brand new set of tests should emerge. Best regards, Alexander