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 1ogY1v-0002Cm-V3 for pgsql-general@arkaria.postgresql.org; Thu, 06 Oct 2022 21:03:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogY1u-0005xi-E5 for pgsql-general@arkaria.postgresql.org; Thu, 06 Oct 2022 21:03:42 +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 1ogY1u-0005wy-0b for pgsql-general@lists.postgresql.org; Thu, 06 Oct 2022 21:03:42 +0000 Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ogY1n-0006Bh-6t for pgsql-general@postgresql.org; Thu, 06 Oct 2022 21:03:41 +0000 Received: by mail-oo1-xc36.google.com with SMTP id i25-20020a4a8d99000000b0047fa712fc6dso1080383ook.2 for ; Thu, 06 Oct 2022 14:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=aXjeWEBD/Iz0gFAFPAJAfrlOYoK+3HtX6Pl0jtn3V8Y=; b=Vq5qZz5yzL4cSkoKjduBPy098MrQjmd73clVsYHD+vEki8iYpncP7eHISjZG0/dahL hwdXJrOo5rKemNVlbOu50Rh/Zd7chphUQT3qmAsiVnPeALCFdRQbj1yyrJ/TgFc5dZJ8 txJhkugrDdWO/PWtBOG6NE9AX2Pqelp6DIVeKomBt/OIV2v+dUoeM3+utKw1FMC3vpV2 Q/0r3nMqbgcalwliaVnc7r12UeNQRcFzF7OzzCFZSUqSs0iJ7mMClsbn9bIp0fZx6A9e rsQfGm+hMZu7p5drvUx4wKsU+Q2Dbw5k2ro26Bdh71EiUAktZ7gK93qkpZww14zcveQE gSlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=aXjeWEBD/Iz0gFAFPAJAfrlOYoK+3HtX6Pl0jtn3V8Y=; b=pY5YuzbqCx4o4kxSGtXxW44xqFbsGia44yBtj2NhB6qUZpU89vKh/78DQvyPJJwR4z 8FYDoXTjMz9UOWRPjSORKMBKsZB74DkRWRmfU/vXrbl7DAL7dMnI57Hlyasjq7kYFu6i /3e8E29+6AzIZ9X7E1w6cxnZrFmKXmk/z4vNstLnv0j5VdpS59Dl6EZiiG9iGPyHFcjw 9RsH5kgzs0CPCGeZE9BRIEl5BoaBp7rzvKr2+t+Vyjh8/dP02kg8p11au17xPir31BeH 3HYrvg6ifuYNKDrp+YBSxg7KnY8JKH5L4F1F6D5hDLdZNDgetSYpmMXzbItjykEbzCIw VLbQ== X-Gm-Message-State: ACrzQf1iz2qb6g16kAhwp7+JFZTaYu44wKoEVdU2kv9YaSXy+zI75QIb 23v0e/kAHHk4NY1c0IyAsQ+QGXqHxfA= X-Google-Smtp-Source: AMsMyM7vViLJvjY3y/pAfYO1viht5H/KB6zrIPIJBSZer/D81s+F+1R5tw8YhTsQlE1x/AJyGJMGOA== X-Received: by 2002:a9d:7555:0:b0:661:374:2b60 with SMTP id b21-20020a9d7555000000b0066103742b60mr733411otl.260.1665090213164; Thu, 06 Oct 2022 14:03:33 -0700 (PDT) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id z6-20020aca6706000000b00353fe4fb4casm85904oix.48.2022.10.06.14.03.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Oct 2022 14:03:32 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------g1fbZ0iCXFe1pW0S10WxB0tH" Message-ID: <8ce236a5-f194-954c-275e-1e82444246bc@gmail.com> Date: Thu, 6 Oct 2022 16:03:32 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: pg_restore creates public schema? Content-Language: en-US To: pgsql-general References: <9a423047-24d9-1643-c91e-6c36508b987e@gmail.com> <2678272.1665067771@sss.pgh.pa.us> <33eb3653-26f1-e6c1-dd16-c43ef93f7624@gmail.com> <2749191.1665069637@sss.pgh.pa.us> <31774754-424d-3637-8861-f7b61c106a69@gmail.com> <5bd9bfaa-8221-d2f5-f699-84f23169ad42@aklaver.com> From: Ron In-Reply-To: <5bd9bfaa-8221-d2f5-f699-84f23169ad42@aklaver.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------g1fbZ0iCXFe1pW0S10WxB0tH Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/6/22 14:35, Adrian Klaver wrote: > On 10/6/22 09:46, Ron wrote: >> On 10/6/22 10:20, Tom Lane wrote: >>> Ron writes: >>>> On 10/6/22 09:49, Tom Lane wrote: >>>>> Ron writes: >>>>>> pg_dump 9.6.24 >>>>> You realize that that version's been out of support for a year? >>>> Yes, which is why I'm dumping from an EOL cluster, and restoring to a >>>> supported version. >>> But why are you using the dead version's pg_dump?  You could use >>> the supported version of that. >> >> Because installing new software on production servers requires hurdles >> (Service Now change ticket approved by the application support manager, >> Delivery Service Manager, Engineering Change Board, and a one week lead >> time before installing during the Saturday night maintenance window) that >> I'm not willing to jump through just to take an /ad hoc/ database backup. > > 1) So I assume that means Postgres 13.8 has not been installed in > anticipation of the change over? It's certainly been installed on the *new* (RHEL8) server. Not the EOL RHEL6 server, because of course the point is to get off of EOL software... > 2) All those hoops, Those hoops are for installing new software on a server.  We jumped through those hoops six months ago to upgrade Pg 9.6.18 to .24 on the RHEL6 server > yet you can move the data off site with no issue? This post was about pg_restore creating "public", not about how to copy files from point A to point B. -- Angular momentum makes the world go 'round. --------------g1fbZ0iCXFe1pW0S10WxB0tH Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit On 10/6/22 14:35, Adrian Klaver wrote:
On 10/6/22 09:46, Ron wrote:
On 10/6/22 10:20, Tom Lane wrote:
Ron<ronljohnsonjr@gmail.com>  writes:
On 10/6/22 09:49, Tom Lane wrote:
Ron<ronljohnsonjr@gmail.com>  writes:
pg_dump 9.6.24
You realize that that version's been out of support for a year?
Yes, which is why I'm dumping from an EOL cluster, and restoring to a
supported version.
But why are you using the dead version's pg_dump?  You could use
the supported version of that.

Because installing new software on production servers requires hurdles (Service Now change ticket approved by the application support manager, Delivery Service Manager, Engineering Change Board, and a one week lead time before installing during the Saturday night maintenance window) that I'm not willing to jump through just to take an /ad hoc/ database backup.

1) So I assume that means Postgres 13.8 has not been installed in anticipation of the change over?

It's certainly been installed on the new (RHEL8) server.  Not the EOL RHEL6 server, because of course the point is to get off of EOL software...

2) All those hoops,

Those hoops are for installing new software on a server.  We jumped through those hoops six months ago to upgrade Pg 9.6.18 to .24 on the RHEL6 server


yet you can move the data off site with no issue?

This post was about pg_restore creating "public", not about how to copy files from point A to point B.

--
Angular momentum makes the world go 'round.
--------------g1fbZ0iCXFe1pW0S10WxB0tH--