Re: pg_dumpall size twist

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

 



Marc Fromm <Marc.Fromm@xxxxxxx> writes:
> It turns out that one specific database called postgres is growing each time I perform a restore from the pg_dumpall files.
> The database postgres has gone from 5.1MB to 10MB to 15MB to 20MB. No other database is growing like this. The pg_dumpall is using the -c flag to drop databases before restoring them.

> When I do a restore I do this command: psql -U postgres -f alldb postgres.
> Has it something to do with using postgres as the starting db?

Well, yeah: you can't drop the database you're connected to.  It might
be a good idea to pay attention to the errors emitted by the dump
script...

			regards, tom lane

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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux