Re: pg_dump object dump-order

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

 



KL <zappa_lot@xxxxxxx> writes:
> pg_dump seems to dump objects strictly alphabetically,

No, it doesn't ... at least not if you are running 8.0 or later.
It looks at dependencies to see what has to be dumped first.
(It does prefer alpha order when there's no dependency constraint.)

There are various situations where there might not be a dependency
entry, but without knowing more about the history of the table and
exactly which version you're running, it's hard to speculate about
why or what's the best fix.

I will point out, however, that the given script does not in fact
fail to load in any Postgres version known to me.  Maybe you should
post your real problem instead of an oversimplified example.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[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