Re: pg_dump not dumping all tables

From: Stefan Schwarzer <stefan(dot)schwarzer(at)unep(dot)org>
To: pgsql-general(at)postgresql(dot)org
Cc: Alban Hertroys <haramrae(at)gmail(dot)com>
Subject: Re: pg_dump not dumping all tables
Date: 2012-06-25 05:44:27
Message-ID: 43547462-F01F-4862-B023-B51E1442AB98@unep.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> 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 the same as on all other tables…
>>
>> What could that be?
>
> Are you sure the missing tables are in the public schema?

Yes, they are indeed in the public schema.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Anthony Bull 2012-06-25 06:37:33 Re: pg_dump not dumping all tables
Previous Message Craig Ringer 2012-06-25 04:53:32 Re: Help, server doesn't start