Search Postgresql Archives

Re: shrinking physical space used

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

 



Bopolissimus Platypus Jr <bopolissimus.lists@gmail.com> writes:
> the reason i can't do dump, initdb, restore is:  I'm working with postgresql 
> 7.1.x

This is your problem right here :-(.  You should be making every effort
to get updated sooner, not later.  Spending time on workarounds for 7.1
limitations is silly when you could be putting that effort into
migrating sooner.

Others already mentioned that you should try REINDEX or TRUNCATE so that
you can shrink the indexes as well as the table.  I don't recall if
either of those were available in 7.1 though --- you might have to
resort to dropping and recreating the indexes.

> the database i'm working on has problems with pg_dump and restoring a 
> dump because of recursive definitions (function selects from a table,
> table has a default or constraint referring to the function, neither can be
> created when the dump is restored because the other isn't defined yet).  

This should work with the current pg_dump.  Could we see a concrete
example where it doesn't work?  (Note: "works" is defined as "loads
into 8.0".)

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly

[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