Re: parsing pg_dump -l output - Mailing list pgsql-novice

From Athanasios Kostopoulos
Subject Re: parsing pg_dump -l output
Date
Msg-id CAFnWstPWTQCbG3Fi_Kk3_tc1yatApr3=COyYEEipMLM0x1OyZQ@mail.gmail.com
Whole thread Raw
In response to Re: parsing pg_dump -l output  (Bruce Momjian <bruce@momjian.us>)
List pgsql-novice
Yes, this is what I meant, you are correct


On Fri, Aug 16, 2013 at 11:12 PM, Bruce Momjian <bruce@momjian.us> wrote:
On Fri, Aug 16, 2013 at 11:02:47AM +0200, Athanasios Kostopoulos wrote:
> Dear list,
> I am trying to understand the format of pg_dump -l 's output
> specifically let's examine the following line
>  16118; 1262 5499023 DATABASE - vourtsis postgres
>
> I understand that 16118 is an index value and the rest is a FYI information
> comment
> I am not sure in my example what 1262 and 5499023 are
> I understand that DATABASE indicates the type of what has been backed up
> vourtsis is the name of the object and postgres the owner, but I still have no
> idea about the first 2 numbers once the comment starts. I am trying to
> programmatically get (and subsequently sort) the sizes of what is contained
> within the backup.

I don't see any -l option for pg_dump.  Do you mean pg_restore -l?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


classmarkets GmbH | Schumannstraße 6 | 10117 Berlin | Deutschland
Tel: +49 (0)30 56 59 001-0 | Fax: +49 (0)30 56 59 001-99 | www.classmarkets.com

Amtsgericht Charlottenburg HRB 111815 B | USt.Id.Nr: DE 260731582
Geschäftsführer: Veit Mürz, Fabian Ströhle

Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen, kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Jede unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es vollständig oder teilweise, ist unzulässig. Bitte beachten Sie, dass E-Mail-Nachrichten an den Absender nicht für fristgebundene Mitteilungen geeignet sind. Fristgebundene Mitteilungen sind daher ausschließlich per Post oder per Telefax zu übersenden.

pgsql-novice by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: parsing pg_dump -l output
Next
From: Luca Ferrari
Date:
Subject: Re: sudo/access to the postres OS user