Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fu0gT-00077E-V3 for pgsql-general@arkaria.postgresql.org; Sun, 26 Aug 2018 19:26:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fu0gP-0000D9-CP for pgsql-general@arkaria.postgresql.org; Sun, 26 Aug 2018 19:26:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fu0gO-0000D2-UX for pgsql-general@lists.postgresql.org; Sun, 26 Aug 2018 19:26:45 +0000 Received: from mail-oi0-x242.google.com ([2607:f8b0:4003:c06::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fu0gM-0001Bl-2U for pgsql-general@lists.postgresql.org; Sun, 26 Aug 2018 19:26:43 +0000 Received: by mail-oi0-x242.google.com with SMTP id y207-v6so23666401oie.13 for ; Sun, 26 Aug 2018 12:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=V92ggl2fIeRIL3FHEcD/tfhDMUFwaSplFOBWNcl9JDE=; b=KgZxD3y1bXlZwJc1AIDwAFtxRWqxfb8KDmJyeG/RV3tUOj0ncH909yI3RwmqOfK7BL PxjYRvQbKh9U7QAAbJuUtvCTJD91oIxxOtlNH56w1xmvfHnS07MS1vCRTqHKPycATomy +6kil7tgcuU/bWE5rjEomeQJhBN+pJN5f0RX2z6Olxaor5XSnq/dcSMajh9I1iK5r5Ic g1mNimFIPELktNLmYbZvBX7GRcaUrR11zSy3uIf4RBnolT1/vzZtQnBqCBkqGCfk8Z/6 qWPDi4tUlgihRTupa23qfJJ4Sta4rU2n2qP39DZ/XYWjkSlNfDwCiJaUaQI57QG8Rsyq Ctww== 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-transfer-encoding :content-language; bh=V92ggl2fIeRIL3FHEcD/tfhDMUFwaSplFOBWNcl9JDE=; b=XT3Ambbn7oCYrJbyK15aPjV+N4TbywfFIWIXwCvKME3V11lAYy/axfupBDYHK+PmVW CL2NczBoSlRBfSfvKhcgrqR7iXMHGEZdaWiuQtglwo34Y04lWGsCcIBVsEV/DwnJvOm6 jxw49HT8g5o4k7xa/9T1D06Y0qXfH4M05qHUt8Hn75A119qnJUOBfjma2b+SEPo1yTbo O4WTvv+zKpJQRsDP4lSMQFAWgzTHsyJWfi+6SuWiu5sfn6eSVl5qlr++LuoBO8b5r/3g 9mdXVT+zPtDL74AXnapz0OrtgvOWuYKLQ8MhdfjWjhhh8AyJv6lGMGTaLkaj6E1omzgm i8Aw== X-Gm-Message-State: APzg51AfqyVYjQkLW070qq0xgufUtXll1XnoXOBjyKd/kNsRFT7bq0zC 4vXgvY67s5x1qRi3HuwbOQiV0Gen X-Google-Smtp-Source: ANB0VdZUKqAtOHkcTRUfJ0cN4/XTmfYACdMiFyswPjjh8N8CRRh4AOGQPz8bsfT+4bQPPed0Z5iJog== X-Received: by 2002:aca:1802:: with SMTP id h2-v6mr9455336oih.353.1535311600710; Sun, 26 Aug 2018 12:26:40 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id h186-v6sm19891683oib.55.2018.08.26.12.26.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Aug 2018 12:26:39 -0700 (PDT) Subject: Re: pg_dump order of operation To: Tom Lane Cc: pgsql-general@lists.postgresql.org References: <19812.1535297050@sss.pgh.pa.us> <12838.1535308955@sss.pgh.pa.us> From: Ron Message-ID: Date: Sun, 26 Aug 2018 14:26:38 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <12838.1535308955@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/26/2018 01:42 PM, Tom Lane wrote: > Ron writes: >> On 08/26/2018 10:24 AM, Tom Lane wrote: >>> Ron writes: >>>> In what order does the 9.6 pg_dump dump tables? >>> I don't believe the ordering rules have changed materially since 8.4; >>> it's intended to be by object kind, and within that by name, except >>> where dependencies force doing something else. >> I thought that didn't matter, since FK and PK constraints were added (in the >> required order) after all data was loaded). >>> But what are you thinking constitutes the "dump order" in a parallel dump? >> I don't understand your question. > Perhaps I don't understand *your* question. What concrete problem are you > having? I want to track the progress of pg_dump so as to estimate completion time. -- Angular momentum makes the world go 'round.