Re: Bug #899: pg_dumpall produce erroneous files if the databbase

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laurent FAILLIE <l_faillie(at)yahoo(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #899: pg_dumpall produce erroneous files if the databbase
Date: 2003-03-15 00:33:50
Message-ID: 25109.1047688430@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?iso-8859-1?q?Laurent=20FAILLIE?= <l_faillie(at)yahoo(dot)com> writes:
> ... yes but it is not the probleme : as no user is
> attached w/ procedural languages (it's clearly
> commented in the source code of pg_dump), it should
> generate ACL of then in a scope of a normal user, and
> not as super user. Again, I solve this issues in my
> patches.

I don't like the parts of this that are concerned with rearranging dump
order; it's just adding complexity that won't do much except confuse
people working on the code. The one and only true solution for this
class of problems is to make pg_dump pay attention to pg_depend
dependencies. Now that the raw data is available, I think we're past
the point where we should keep adding heuristic kluges that try to
substitute for dependency analysis. I fear they're as likely to break
corner cases as fix 'em :-(

As for the ACL changes, I don't see the point of 'em any more than Bruce
does. Explain again please?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Laurent FAILLIE 2003-03-15 02:47:45 Re: Bug #899: pg_dumpall produce erroneous files if the databbase
Previous Message Laurent FAILLIE 2003-03-14 23:54:09 Re: Bug #899: pg_dumpall produce erroneous files if the databbase