Re: pg_dump not dumping all tables - Mailing list pgsql-general

From Alban Hertroys
Subject Re: pg_dump not dumping all tables
Date
Msg-id CAF-3MvOQWYn5DgayCyi2Z83CNtApxUdS_+T+2QZZ=3wYdQubEA@mail.gmail.com
Whole thread Raw
In response to pg_dump not dumping all tables  (Stefan Schwarzer <stefan.schwarzer@unep.org>)
Responses Re: pg_dump not dumping all tables  (Stefan Schwarzer <stefan.schwarzer@unep.org>)
List pgsql-general
On 22 June 2012 10:45, Stefan Schwarzer <stefan.schwarzer@unep.org> wrote:
> Hi there,
>
> I am pg_dump-ing all tables from schema public on the server
>
>       /usr/local/pgsql/bin/pg_dump -U user my_database --schema=public --encoding=UTF-8 > dump.sql
>
> and re-loading it via psql on my local machine.
>
> But instead of having 708 tables as on the server, I end up with only 570 on my local machine.
>
> When trying to search for the name of a missing table in the dump file, it is indeed not there. Owner of the table is
thesame as on all other tables… 
>
> What could that be?

Are you sure the missing tables are in the public schema?

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

pgsql-general by date:

Previous
From: Stefan Schwarzer
Date:
Subject: pg_dump not dumping all tables
Next
From: Léa Massiot
Date:
Subject: Re: Starting a cluster as a service