Unix Technical Forum

Re: Major Problems with pg_dump

This is a discussion on Re: Major Problems with pg_dump within the pgsql Novice forums, part of the PostgreSQL category; --> Tom Lane wrote: > =?iso-8859-1?Q?K=D6PFERL_Robert?= <robert.koepferl@sonorys.at> writes: > > > > 2. Dumping schema+data types and domains are dumped ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:20 PM
Michael Fuhr
 
Posts: n/a
Default Re: Major Problems with pg_dump

Tom Lane wrote:
> =?iso-8859-1?Q?K=D6PFERL_Robert?= <robert.koepferl@sonorys.at> writes:
> >
> > 2. Dumping schema+data types and domains are dumped in the
> > wrong order.
> > Types don't get defined due to missing domains. Hmmm?

>
> However, 8.0 pg_dump should have solved the incorrect-dump-order
> problem. Could we see a specific example of #2 occurring with the 8.0
> dump?


I can duplicate this in 8.0.0rc5:

createdb test
psql -c "CREATE DOMAIN foo AS integer" test
psql -c "CREATE TYPE bar AS (x foo)" test
pg_dump test > test.sql
psql -c "DROP TYPE bar; DROP DOMAIN foo" test
psql -e test < test.sql
....
CREATE TYPE bar AS (
x foo
);
ERROR: type "foo" does not exist
ALTER TYPE public.bar OWNER TO postgres;
ERROR: type "public.bar" does not exist

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:01 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com