From: Dimi P. <di...@la...> - 2015-03-08 16:47:07
|
Hi guys, Sorry for the late response -- my issue with changing the semantics of the current switch is that it will quietly break any restore script out there. That's a very high cost to pay. This is why I suggested a version that doesn't create the breakage, at the cost of a bit more work. Frank had a complaint about my proposal, but it wasn't clear to me what that was. Frank, mind if you re-read my past proposal and comment on it? Dimi Paun Sent from my phone. On Feb 22, 2015 2:45 AM, "Frank Crawford" <fr...@cr...> wrote: > Marco, Dimi, > > What was the final decision here? While we talked about an option, I'm > not sure if we agreed to it in the end, and if it was only limited to > postgres? > > Regards > Frank > > On Tue, 2014-10-21 at 15:45 +0200, Marco Bozzolan wrote: > > * Dimi Paun <di...@la...> [2014 10 21, 08:33]: > > > As an aside: if no database is specified, it means "dump all" and > unless > > > you have exactly one, it just doesn't make sense not to have a CREATE > > > DATABASE. > > > > This has been my first thought as well, but actually the dump could > > just contain a "\connect <dbname>" or a "USE <dbname>" for each > > database. This could be useful in a situation where you have the > > databases created by an external script which can perform additional > > operations (i.e. setting default privileges). > > > > > For the rest, you've already worked out the right switches, no? > > > > It would seem so, but I think that what was really noticeable was the > > complexity required in order to apply this attribute to every > > (present, maybe future?) database-dumping tool. In my opinion > > correcting this behaviour only for PostgreSQL and letting the user > > customize it for every other tool would just be simpler and more easily > > extended in future (i.e. there will be no need to find out other > > switches or to add other warnings when adding support for the next > > tool). > > > > Regards, > > > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Safekeep-devel mailing list > Saf...@li... > https://lists.sourceforge.net/lists/listinfo/safekeep-devel > |