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 1ntBKA-0007jx-67 for pgsql-general@arkaria.postgresql.org; Mon, 23 May 2022 16:54:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ntBK9-0000WO-2v for pgsql-general@arkaria.postgresql.org; Mon, 23 May 2022 16:54:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntBK8-0000W7-Oz for pgsql-general@lists.postgresql.org; Mon, 23 May 2022 16:54:28 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ntBK5-0003il-Mo for pgsql-general@lists.postgresql.org; Mon, 23 May 2022 16:54:27 +0000 Received: by mail-pj1-x1029.google.com with SMTP id o13-20020a17090a9f8d00b001df3fc52ea7so18017820pjp.3 for ; Mon, 23 May 2022 09:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=YLOj+VMi7rXWpP6kyYe4uL3y8Z3FPqNKdjliuqj6nmo=; b=J6TDXvRdvFanRMIc77rOoM5NdW/8K8I8CFYzGWjFynfr98KDIvk6MN0oLIseSTpRHM qs6QnLMquqcEVJ5t3BRNUhG16t+QZYzh0AxPJ0+pPJ+l8SCfTMFl5dw6HGP6g8Ch/0HH lNjAt03w8slKbGfhg+ZUYTEKfulF3zZm6+0sVJdrpUBFWEqgDg9D/QqM0Og9l8m4WHM9 qHqyFqpdb4aSVn9VyJw0gtDU+t590iISc2pN+p+5H81d79Ru/QGF8Kh4aVZCYfWA6f9m be8DZ2fdV2i+QBbCbehKVU65rWG94qIYKisQSyA5haSh4m3sK5xDUxLG1lZcbwslScjr 0pAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=YLOj+VMi7rXWpP6kyYe4uL3y8Z3FPqNKdjliuqj6nmo=; b=WlMi/tQAnJ8Od7IdZWiRq8ULYHdqBfgwnhdVwUmNR51CE7AJKQweLG9yoTXjOB9mei wSm3i8yvtlmntSYZ2z3yzcIbV8key5oOlneoISgqNtJ+2qRE4NYHksm92w5EL/U4LmJZ rUNh9/3XaySviZiN+1xl0d1bnuQU6xWZdJi6ajblsBCbOJ2Ho9O7C557Bhet68RuiklG gS2rIbQpfTHv8FJ0OouXL2F5GYUdAITB21QiXcxoWkv+cbcDbUzhZFqhMFz00A/HzSQu A7kl375TVrMDcsnH79GVoWHWYrwAQoISy3lQ+sBQUKVLae3++S5kMD59PUa3XNnAjIML xj+w== X-Gm-Message-State: AOAM53073L6cWNPMA8QJeGoZVdNu0S8Ng2bh3rORcUj6hNQcieV4gu9z 6ynatf+nlxH8VXHHU+dRR9lD8b7fSQ0= X-Google-Smtp-Source: ABdhPJxQljHmbKP891y5E0OcNCr2+1+q5EsXyI0aWk/F6xBxIGDTOkLlOnRXeyX92UAGL3kIL7e5Rw== X-Received: by 2002:a17:90b:3908:b0:1df:56a8:aa with SMTP id ob8-20020a17090b390800b001df56a800aamr27002002pjb.28.1653324864781; Mon, 23 May 2022 09:54:24 -0700 (PDT) Received: from [10.128.71.194] ([155.98.131.2]) by smtp.gmail.com with ESMTPSA id y16-20020a62b510000000b0051843980605sm7435444pfe.181.2022.05.23.09.54.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 May 2022 09:54:24 -0700 (PDT) Message-ID: Date: Mon, 23 May 2022 10:54:22 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: list tablespaces named in custom format dump Content-Language: en-CA To: Adrian Klaver , "pgsql-generallists.postgresql.org" References: <29112dbe-b1bd-afe9-63d3-f7ba50ece939@gmail.com> <9013c93e-3f01-f40a-4e14-7b1c9d7b065d@aklaver.com> From: Rob Sargent In-Reply-To: <9013c93e-3f01-f40a-4e14-7b1c9d7b065d@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/23/22 10:50, Adrian Klaver wrote: > On 5/23/22 9:45 AM, Rob Sargent wrote: >> Using pg 14, is it easy (possible) to list the tablespaces used in a >> custom format dump. Are the definitions included? >> > > https://www.postgresql.org/docs/14/app-pgdump.html > > "pg_dump only dumps a single database. To back up an entire cluster, > or to back up global objects that are common to all databases in a > cluster (such as roles and tablespaces), use pg_dumpall." > > https://www.postgresql.org/docs/14/app-pg-dumpall.html > > "-g > --globals-only > >     Dump only global objects (roles and tablespaces), no databases. > " > Roger that, but does the dump of a database name the tablespaces from which the objects were retrieved? And if so, is that accessible?