Search Postgresql Archives

Re: Pg_restore and dump -- General question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Most probably it is . I have just analysed the dependency for one level. and I am planning to do the restore for also one level.  i.e suppose that c-->b -->a if I dropped a and turned out that a is used for some reasons, I will restore a and b only without c.

I want to do that for the following reasons. If I restore the whole dependency tree I might end up of restoring the database and the data which are newly inserted will be lost. This situation is actually rare because most of the entities are empty, I just want to make sure.
 


 



From: John R Pierce <pierce@xxxxxxxxxxxx>
To: pgsql-general@xxxxxxxxxxxxxx
Sent: Mon, April 4, 2011 12:55:41 PM
Subject: Re: Pg_restore and dump -- General question

On 04/04/11 3:47 AM, salah jubeh wrote:
> I am cleaning up a database and I have a list of unused tables, views and column and I want to drop these entities.
> ....
> suppose that  table b  depends on a, and let us say that other  tables depends on b.


doesn't this dependency cancel the 'unused' part?



-- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux