2010/2/23 Net Tree Inc. <nettreeinc@xxxxxxxxx>: > Thanks.. > This is what I am confused about. I installed a ver. 8.4 postgresql, why it's pg_dump is 8.3.9?? For first one, how could this possibly having problem using pg_dump that comes with the server install?? Comes with what server install? It depends on how you install PostgreSQL, and on what platform you are. But clearly you are using a pg_dump that comes from a previous version. It could be that you have both installed, but that the 8.3 version comes first in your PATH perhaps? > the first one I backup using pgAdmin III ver. 1.8.4 on a ver 8.3.9 postgreSQL server pgadmin ships with a copy of pg_dump. 1.8 ships with pg_dump from 8.3, so -i should work there. pgadmin 1.8 isn't supported with server 8.4 at all anyway, so you need pgadmin 1.10 for that - which ships with pg_dump from 8.4. > the second one I backup using command line on a ver 8.4 postgreSQL server > Is this something that can solved by upgrade or reinstall ver. 8.4 of pg_dump? > Is that its only downward compatible but not upward? which mean I can do restore on 8.4 from backup created by ver 8.3 pg_dump, but probably won't work the other way around? Definitely impossible? then what is '-i' use for.....? No. You can restore on 8.4 only if you used pg_dump 8.4. But you ca nuse pg_dump 8.4 on 8.3 just fine. -i really is for minor versions only. And due to the fact that it's not really useful, it's been removed (well the option is there, but it doesn't do anything) in 8.4. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin