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 1fweHf-000849-7B for pgsql-general@arkaria.postgresql.org; Mon, 03 Sep 2018 02:08:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fweHd-0003op-8G for pgsql-general@arkaria.postgresql.org; Mon, 03 Sep 2018 02:08:05 +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 1fweHc-0003oi-RF for pgsql-general@lists.postgresql.org; Mon, 03 Sep 2018 02:08:05 +0000 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fweHa-0007K2-1N for pgsql-general@lists.postgresql.org; Mon, 03 Sep 2018 02:08:03 +0000 Received: by mail-oi0-x244.google.com with SMTP id k81-v6so24908804oib.9 for ; Sun, 02 Sep 2018 19:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=8srNrW7M9poBNy326UXgS4SHpSQlGObg3Ew2jdcfpPs=; b=TNrGHLhOORGEYV43qqstaO/Ng2J/9I2QOX+MqS6KvSlC16fdjSWB4C/eYsf/V0jpNm 2mu9qsZy9GkA7FCrEWAAeswuT9mc6h268EzsVKgVkMxgwYBjj1bpLChVRvgtGjDhPBUE g+npe98g3Q1E0jh8YPxsJelCdboHS15UY+qFg3027zXQ8WsTx1qV5o8GHleYoA+LHD4T CNIg5ieE4B+HdLtH9ymWR0O7Buo2kkpLfmhpWDtE5j6KbfFVS2ptD8K3iyZ+lTrpwqO4 bvZ1wJqXU4kOtLVK3dEFM9NpZBuBG2tAqoKT6taSjO6VL0TP0ueE6gjO8GV/uTZba13c 09mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=8srNrW7M9poBNy326UXgS4SHpSQlGObg3Ew2jdcfpPs=; b=ZeAvLWUskhCPLxOKeulAZGEyIkVMyBfWAqJFI0CzBPB+3cDB967g2+edw4o5I+xhk8 ei2byLWXZoLFh/3Z9pV7WYKBO3m7W0LFJWWbtxLtOcMaFIN0nTvj3yqv9DfGhByfRvan YXrC3EXM1ZK8drnOuBtT40z+CnA8TXLnOeJ/leg8papHxOvgTukAB06y9GOaVAemWMHk uDkkFgrVjs/fV8u/zHV/F3GNBQZA/dXlBJkWFrmnMKqla6hLIQCSnLX5GCzrx2sVsA8P jmrAOGGeIHpZQDWpbHQcOeaAmRLvIXvyhNZ/PapliKI6Wb1JY6mZ+b5e0AEmPC5Zde6C c0Jg== X-Gm-Message-State: APzg51DZN/7SUaIy7gxNEQy19H0AsJdcD0X89S5cV2NbtUNQZeZZhufF sD+VIhmQi1qUhYDh/IUMX+0hJmA9 X-Google-Smtp-Source: ANB0VdYatv0y+IkNbOE4MEdLS0EHu/Aa8wsTk15GMmEYCxvvgkP8XUxhmXMogz1vV1zQEu/AyD5OKQ== X-Received: by 2002:aca:2c02:: with SMTP id s2-v6mr18618858ois.305.1535940480386; Sun, 02 Sep 2018 19:08:00 -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 n71-v6sm32364228oig.48.2018.09.02.19.07.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Sep 2018 19:07:59 -0700 (PDT) Subject: Re: dat names generated by pg_dump To: pgsql-general@lists.postgresql.org References: <0ddc55d3-d7b7-a765-5548-0d847b41d941@gmail.com> <610aaefa-873b-36f7-e933-5a309497c5f9@aklaver.com> From: Ron Message-ID: <2d979369-9b04-155a-b14a-e62c0684484f@gmail.com> Date: Sun, 2 Sep 2018 21:07:58 -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: <610aaefa-873b-36f7-e933-5a309497c5f9@aklaver.com> 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 09/02/2018 08:41 PM, Adrian Klaver wrote: > On 09/02/2018 05:40 PM, Ron wrote: >> Hi, >> >> I can associate these dat names with their source tables through a bunch >> of bash and vim manual operations, but I was wondering if there's any >> automated method (maybe some SQL query of some catalog table; pg_class >> didn't seem to have the relevant data) of making the association. > > Some background would be helpful: > > 1) What is producing the *.dat files? pg_dump, as described in the Subject. > > 2) What is their structure? They're pg_dump files. > > 3) What do the numbers refer to? That's what I'm asking the list. > >> >> If relevant, the source database is v8.4, but the backup was done by 9.6 >> on a separate server. >> >> $ ls -1 CDSLBXW/*dat | head >> CDSLBXW/8412.dat >> CDSLBXW/8414.dat >> CDSLBXW/8416.dat >> CDSLBXW/8418.dat >> CDSLBXW/8420.dat >> CDSLBXW/8422.dat >> CDSLBXW/8423.dat >> CDSLBXW/8425.dat >> CDSLBXW/8427.dat >> CDSLBXW/8428.dat >> >> Thanks >> > > -- Angular momentum makes the world go 'round.