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 1hEDHG-0002yE-Ad for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Apr 2019 13:28:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEDHD-0004iO-PF for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Apr 2019 13:28:31 +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 1hEDHD-0004aX-B2 for pgsql-hackers@lists.postgresql.org; Wed, 10 Apr 2019 13:28:31 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEDH6-0003Qs-KY for pgsql-hackers@lists.postgresql.org; Wed, 10 Apr 2019 13:28:29 +0000 Received: by mail-qt1-x841.google.com with SMTP id w5so2740814qtb.11 for ; Wed, 10 Apr 2019 06:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=HUR9tGArQTMK9ntYqgPtoe0c4j7dZTZuctKC/YM+zHQ=; b=sRFslu04EPwpCSyAwbu4VZ09eZHLO5hHpXo2E+d6Jej0YkPAOVTZMs4pCWx31M21qs QipiAHEe5St6kEm5smRaRxyzCv/JXtrXXe6VicxKIIIVPkaep2lRpeCc1JiAaMxfjgOX 5tnyYra+2CmC7MfKYbgQ/L40N8+zi7wH4/zycYDAuYEIt/7wlztkHOrbdoR9p6WcLBNH uGU5ANew5MPfE5WAVU+ihgicT6TGdrfb3+N4dk2AzSCGkUeSHxeX0Zklutx9z/7JtT9g kp/sdH5AS7fpg/Ba4d8qbFkQLzcInPBYHhH7lo6mJzWan8by2YYC/ZVjKviHsPlAiMgv xX5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=HUR9tGArQTMK9ntYqgPtoe0c4j7dZTZuctKC/YM+zHQ=; b=RjLP4DOOAKLawHoW3JKaBUW7R+AGr/qpc2Cgo128BHPvIIcbZhUoJ7bt/Zfd8d+LLr Cc3nIWJr74db/f2LlfqkvPNlBO5uFTX3soBXGlK8ixtefYYQYRl74BmqzETGt9YPRecl AdzaX9fMBU429aCUiJRGoZW8QJy7YQBCAWGAyJWSKQ6CKH+HSXeQb/sd+Sayh++CRiea 8v0f6c92ojE007mx9M5TqC2RkwOGvOpGjybrp3zz2yXsAR30SvIgWEVMZYoqIZdg40uK xfmIMF49+DDEnCB+oZ99DspkNW0fFzNQzghmM2adfaFiF8riX3sGrtXWD3R8eStIx5X1 pS1A== X-Gm-Message-State: APjAAAW6j+BlMl6RHlRX/8qwR604ZhNbVQ6QPmga+sXSd8jBHb+Ccygo I0cMcHDra4DYchTHC1t/L1yYLQ== X-Google-Smtp-Source: APXvYqyeBGEcYvnYgGgPMS4rKDNMT2HBXB8ipOGo+K9U1oTNxEbTKxiMhpO1BEtf3cZ62gTb1kN8OQ== X-Received: by 2002:a0c:b6d1:: with SMTP id h17mr35903038qve.38.1554902903645; Wed, 10 Apr 2019 06:28:23 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id x184sm10728065qke.35.2019.04.10.06.28.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Apr 2019 06:28:22 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 15D5E120FC9; Wed, 10 Apr 2019 09:28:21 -0400 (-04) Date: Wed, 10 Apr 2019 09:28:21 -0400 From: Alvaro Herrera To: Andres Freund Cc: David Rowley , PostgreSQL Hackers Subject: Re: pg_dump is broken for partition tablespaces Message-ID: <20190410132821.GA23319@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190409225842.GA14993@alvherre.pgsql> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-09, Alvaro Herrera wrote: > There is one deficiency that needs to be solved in order for this to > work fully: currently there is no way to reset "reltablespace" to 0. Actually, there is one -- just need to ALTER TABLE .. SET TABLESPACE this took me a bit by surprise, but actually it's quite expected. So I think that apart from David's patch, we should just document all these things carefully. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services