Re: [BUGS] unable to fail over to warm standby server

2010-02-09 Thread Heikki Linnakangas
Tom Lane wrote: > Robert Haas writes: >> On Fri, Jan 29, 2010 at 3:32 PM, Heikki Linnakangas >>> That only affects the error message and is harmless otherwise, but I >>> thought I'd mention it. I'll fix it, unless someone wants to argue that >>> its more useful to print the raw return value of sys

Re: [BUGS] unable to fail over to warm standby server

2010-02-09 Thread Tom Lane
Heikki Linnakangas writes: > Tom Lane wrote: >> Yes. Please see the existing code in the postmaster that prints >> subprocess exit codes, and duplicate it (or perhaps refactor so you can >> avoid code duplication; though translatability of messages might limit >> what you can do there). > Here's

Re: [BUGS] unable to fail over to warm standby server

2010-02-09 Thread Alvaro Herrera
Heikki Linnakangas escribió: > Here's what I came up with. Translatability indeed makes it pretty hard, > I ended up copy-pasting. Looks sane to me too; msgmerge segfaults though so I couldn't test. Two minor comments: > + /*-- > + translator: %s is a noun phrase d

Re: [BUGS] unable to fail over to warm standby server

2010-02-09 Thread Fujii Masao
On Wed, Feb 10, 2010 at 4:47 AM, Heikki Linnakangas wrote: > Here's what I came up with. Translatability indeed makes it pretty hard, > I ended up copy-pasting. > > BTW, I don't think I'm going to bother or risk back-patching this. It > was harmless, and for forensic purposes all the information w

[BUGS] BUG #5321: Parallel restore temporarily deadlocked by autovacuum analyze

2010-02-09 Thread Jerry Gamache
The following bug has been logged online: Bug reference: 5321 Logged by: Jerry Gamache Email address: jerry.gama...@idilia.com PostgreSQL version: 8.4.2 Operating system: Linux Description:Parallel restore temporarily deadlocked by autovacuum analyze Details: While