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