pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: dat names generated by pg_dump
Date: Sun, 2 Sep 2018 18:41:50 -0700
Message-ID: <610aaefa-873b-36f7-e933-5a309497c5f9@aklaver.com> (raw)
In-Reply-To: <0ddc55d3-d7b7-a765-5548-0d847b41d941@gmail.com>
References: <0ddc55d3-d7b7-a765-5548-0d847b41d941@gmail.com>

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?

2) What is their structure?

3) What do the numbers refer to?

> 
> 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
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (6+ messages)  latest in thread

Message-ID: <610aaefa-873b-36f7-e933-5a309497c5f9@aklaver.com>
Permalink:  ../610aaefa-873b-36f7-e933-5a309497c5f9@aklaver.com/
Also on:    postgresql.org/message-id/610aaefa-873b-36f7-e933-5a309497c5f9@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com
  Subject: Re: dat names generated by pg_dump
  In-Reply-To: <610aaefa-873b-36f7-e933-5a309497c5f9@aklaver.com>
  References: <0ddc55d3-d7b7-a765-5548-0d847b41d941@gmail.com> <610aaefa-873b-36f7-e933-5a309497c5f9@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox