Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icCH2-0007AJ-GF for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 17:47:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icCH1-0004KJ-5X for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 17:47:43 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1icCH0-0004KB-Mn for pgsql-general@lists.postgresql.org; Tue, 03 Dec 2019 17:47:42 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icCGt-0006Kq-R5 for pgsql-general@lists.postgresql.org; Tue, 03 Dec 2019 17:47:42 +0000 Received: by mail-pl1-x631.google.com with SMTP id s10so1984336plp.2 for ; Tue, 03 Dec 2019 09:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illuminatedcomputing-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=B6xwu/t6t0aJRYF5P2BVaLFw/vvRXJA49yQ68R2MBZU=; b=K2+AvGC7gcei4rLBcOF5CrqLcNv8X5xAX5pxw5lORMyrLGO9eDpVffMJZRhU3QrxY6 NX7kylCi8gRJETjahYbTIku7+fXqi1wphzfLLIRAozaJMy1lUgr/l0yHCHMZ3QLtCnFn hhwXJA0J6L/9SQwa2wqUQlhWp5IlSLXI7b/Uc1zl8zRyR9i1/Ph2dAkGbj31YNFaTebr dvesT6E9BG7I/XncJiJyf4RxGP2QdhpVvSDt7q3E/i5NzpT1u03rIoIzMYnbjk6RmH5N Km0wdP4+1y7lX9k3DgcxCV4MjtFeMy/K8iegudDv7BYZq9lRqYOanF+HD6Y5MzQXZtgZ XTHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=B6xwu/t6t0aJRYF5P2BVaLFw/vvRXJA49yQ68R2MBZU=; b=Id8nalYnqJZonvGchMI7O+1N39ERJ64CeFfCjlk7cVghZGkKRYrIkygTx1kwtacmWk Eieyjfxn+d+w/iHzpOoZ2JM5wWmx8xXyKRSw/oq/ao9Hs/ixBarkKA3msQgtwjQIKkxZ bBmH2dS60lNhTIPfmygOlGVYJVCdM8afF5ptCjdKm1e3BVncOX64bDrm1XxBKX/NdLZK e6rcO+eVSBS8YXhJbGp9g6Krmf+RKq62kuJ7L5WFpDwTTsxKh2/D3CaefTTWOMV1AN02 nxlwLEYYN9fEUizFqQEV0wR2+8ZIMzjJSKqolVsZjjS+SUxJapyWDt97jWVF7o6lZ+BU lANA== X-Gm-Message-State: APjAAAVrnC7kcAQF/BYFEkQkXYYY+zrX+CT1mpw0xnbbyHBv735K8AMd 95IDafsLol9tI2Lvj6HrwkiSA4Eb6WU= X-Google-Smtp-Source: APXvYqwzqEua2phaoEWB8Uh5MaJ5OJbNed9GtjT1gpPAFY4h0ccfIitdFiiTFegkIreTj7gtOBfCVA== X-Received: by 2002:a17:90a:610:: with SMTP id j16mr6832716pjj.85.1575395253331; Tue, 03 Dec 2019 09:47:33 -0800 (PST) Received: from [192.168.2.101] (static-50-53-109-254.bvtn.or.frontiernet.net. [50.53.109.254]) by smtp.googlemail.com with ESMTPSA id j18sm4334846pfn.112.2019.12.03.09.47.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Dec 2019 09:47:32 -0800 (PST) Subject: Re: Issue upgrading from V11 to V12 on Debian To: stan Cc: pgsql-general@lists.postgresql.org References: <20191203155347.GA15007@panix.com> <4513.1575389635@sss.pgh.pa.us> <20191203164622.GA3615@panix.com> <337db11b-4490-7747-e978-118d555f8838@illuminatedcomputing.com> <20191203174118.GA29152@panix.com> From: Paul Jungwirth Message-ID: Date: Tue, 3 Dec 2019 09:47:32 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191203174118.GA29152@panix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/3/19 9:41 AM, stan wrote: > Well, this gets more interesting. I decided to try the reinstall thing > agai, so I did an apt-get purge on the V12 server, started the V11 server > (admiitely I did not check to see what port it started on), reinstalled > the V1 package, and now BOTH are running, with eh V12 server on 5432 and > the V11 on 5433. Yes, Ubuntu/Debian make it easy to run multiple versions/clusters at once. I don't think they even use the alternatives system (but I could be wrong). For building/installing the extension, the only important part AIUI is getting pg_config to point at the right files. My own approach has always been to hack the bash code to accept a PGCLUSTER envvar, as in that Stack Overflow answer. Someone here might have a better approach though. Regards, -- Paul ~{:-) pj@illuminatedcomputing.com