Re: [PATCHES] pg_dump primary keys - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCHES] pg_dump primary keys
Date
Msg-id Pine.GSO.4.02A.9912111343150.5375-100000@Krabba.DoCS.UU.SE
Whole thread Raw
Responses Re: [HACKERS] Re: [PATCHES] pg_dump primary keys
List pgsql-hackers
On Sat, 11 Dec 1999, Oleg Bartunov wrote:

> I have a problem with pg_dump (6.5.3) if I use
> create table  foo (
>            a text  default foo_function()
>                   );
> where foo_function() is my function.
> pg_dump dumps create table first and create function
> later. Obvioulsy restoring doesn't works and
> I have to edit dump file. It's rather annoying.
> Is it fixed in current tree ?

What though if a function accesses a table? Which one goes first? Do we
have to maintain a network of dependencies in pg_dump? Eventually we'll
probably have to, with all the foreign key stuff coming up. Gloomy
prospects.
-Peter

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] 6.6 release
Next
From: "D'Arcy" "J.M." Cain
Date:
Subject: Re: [HACKERS] 6.6 release