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 1iOQ0Z-0004sU-MM for pgsql-general@arkaria.postgresql.org; Sat, 26 Oct 2019 17:37:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iOQ0Y-0005Fg-E8 for pgsql-general@arkaria.postgresql.org; Sat, 26 Oct 2019 17:37:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iOQ0Y-0005Ep-1Y for pgsql-general@lists.postgresql.org; Sat, 26 Oct 2019 17:37:46 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iOQ0V-0000ec-IG for pgsql-general@lists.postgresql.org; Sat, 26 Oct 2019 17:37:44 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 29C412613FE for ; Sat, 26 Oct 2019 10:39:11 -0700 (PDT) Date: Sat, 26 Oct 2019 10:39:11 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Updating data: confirmation and question In-Reply-To: <547c2d0b-70a5-2a62-6b9e-3ff852485dea@aklaver.com> Message-ID: References: <547c2d0b-70a5-2a62-6b9e-3ff852485dea@aklaver.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sat, 26 Oct 2019, Adrian Klaver wrote: > That depends on how you ran pg_dumpall. For instance did you use -c?: Adrian, Yes. Always. > https://www.postgresql.org/docs/11/sql-alterdatabase.html > ALTER DATABASE name RENAME TO new_name Ah, I should have looked. I apologize. Rich