Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: odd output ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 24 Topic 9349 of 10966
Post > Topic >>

Re: odd output in restore mode

by andrew@[EMAIL PROTECTED] (Andrew Dunstan) May 12, 2008 at 06:58 PM

Simon Riggs wrote:
>
>   
>> What is more, I apparently managed to get the recovery 
>> server to lose a WAL file and hang totally by having a bad 
>> recovery.conf. Triple ick.
>>     
>
> Sounds like a bug you should re****t in the normal way. Correctness is
> paramount. Or are you confusing the message in the log for file AA with
> an error? 
>   


No, it had to do with pg_standby waiting for a WAL file that had already 
gone, somehow. I will try to reproduce it when I get a spare moment.
>   
>> Second, what is all this about .history files? My understanding is that

>> they are not necessary, so surely we should try to stat them to see if 
>> they are present before trying to copy them. These lines are going to 
>> confuse a lot of people, I suspect (including me).
>>     
>
> I try to keep it as simple as possible, since much of this code only
> gets run when you really need it to work. The request for the .history
> file and the cp are examples of that.
>   


I don't follow. AFAICT no .history file was in fact archived. ISTM that 
in this case we should only call RestoreWALFileForRecovery if the file 
in fact exists.


>> Lastly, not quite related to this output, but in the same general area,

>> should we have an option on pg_standby to allow removing the archive 
>> file after it has been restored?
>>     
>
> There already is one, but its more complex than that. (%r)
>   


I was using %r. But the WAL files that have been restored (according to 
the log) are still in the archive dir. So it looks like %r isn't working 
properly.


> There is an outstanding Windows issue with pg_standby that your help
> would be appreciated with, shown on latest commitfest page. It's a
> Windows issue and I don't maintain a Windows dev environment.
>
>   

The patch has been rejected for now, according to the Commitfest page. 
Not sure what you want my help on.

BTW, none of what I re****ted was on Windows - it's on Linux.

cheers

andrew

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 24 Posts in Topic:
odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-12 16:57:01 
Re: odd output in restore mode
simon@[EMAIL PROTECTED]   2008-05-12 23:14:00 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-12 18:58:37 
Re: odd output in restore mode
dpage@[EMAIL PROTECTED]   2008-05-18 22:16:17 
Re: odd output in restore mode
bruce@[EMAIL PROTECTED]   2008-06-30 18:13:12 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-06-30 19:29:03 
Re: odd output in restore mode
simon@[EMAIL PROTECTED]   2008-05-13 00:37:53 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-12 21:15:55 
Re: odd output in restore mode
tgl@[EMAIL PROTECTED] (T  2008-05-12 21:38:58 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-12 23:03:25 
Re: odd output in restore mode
dpage@[EMAIL PROTECTED]   2008-05-13 17:15:12 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-18 08:38:12 
Re: odd output in restore mode
xzilla@[EMAIL PROTECTED]   2008-05-12 21:06:26 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-12 22:40:38 
Re: odd output in restore mode
simon@[EMAIL PROTECTED]   2008-05-13 06:44:35 
Re: odd output in restore mode
simon@[EMAIL PROTECTED]   2008-05-13 06:37:24 
Re: odd output in restore mode
dpage@[EMAIL PROTECTED]   2008-05-13 08:42:26 
Re: odd output in restore mode
simon@[EMAIL PROTECTED]   2008-05-13 09:32:55 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-13 08:00:29 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-13 08:26:35 
Re: odd output in restore mode
alvherre@[EMAIL PROTECTED  2008-05-13 11:08:52 
Re: odd output in restore mode
andrew@[EMAIL PROTECTED]   2008-05-13 12:05:58 
Re: odd output in restore mode
alvherre@[EMAIL PROTECTED  2008-05-13 12:11:30 
Re: odd output in restore mode
bruce@[EMAIL PROTECTED]   2008-06-30 18:11:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 14:15:09 CST 2008.