Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Re: pg_dump/pg_...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 4894 of 5167
Post > Topic >>

Re: pg_dump/pg_restore

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 8, 2008 at 05:30 PM

"Sergio Gabriel Rodriguez" <sgrodriguez@[EMAIL PROTECTED]
> writes:
> I'm using postgresql 7.4, I have a problem with pg_dump/pg_restore. I
> want to back and restore only one schema from my db (I did it), but
> when I restore it, postgresql found errors in some views, this ones
> needs of others which can't be found because the script will generate
> them later. How can I make an orderer sql dump???

Switch to a newer PG version.  If memory serves, 8.0 was the first
version in which pg_dump paid attention to dependencies rather than just
the order of original creation of views.  In 7.x it wasn't hard to
cause problems by doing CREATE OR REPLACE VIEW.

			regards, tom lane

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




 4 Posts in Topic:
pg_dump/pg_restore
sgrodriguez@[EMAIL PROTEC  2008-04-08 16:52:23 
Re: pg_dump/pg_restore
postgresql@[EMAIL PROTECT  2008-04-08 22:44:01 
Re: pg_dump/pg_restore
tgl@[EMAIL PROTECTED] (T  2008-04-08 17:30:05 
Re: pg_dump/pg_restore
ajs@[EMAIL PROTECTED] (A  2008-04-09 09:14:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 22:17:38 CDT 2008.