[HACKERS] Re[2]: [HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2015-01-05 Thread Alexey Vasiliev
Mon, 5 Jan 2015 17:16:43 +0900 от Michael Paquier : > On Wed, Dec 31, 2014 at 12:22 AM, Alexey Vasiliev wrote: > > Tue, 30 Dec 2014 21:39:33 +0900 от Michael Paquier > > : > > As I understand now = (pg_time_t) time(NULL); return time in seconds, what > > is why

[HACKERS] Re[2]: [HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2014-12-30 Thread Alexey Vasiliev
Tue, 30 Dec 2014 21:39:33 +0900 от Michael Paquier : > On Tue, Dec 30, 2014 at 9:33 PM, Michael Paquier > wrote: > > On Tue, Dec 30, 2014 at 9:10 PM, Alexey Vasiliev > > wrote: > >> To not modify current pg_usleep calculation, I changed > >> restore_command_

[HACKERS] Re: [HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2014-12-30 Thread Alexey Vasiliev
от Michael Paquier : >On Sat, Dec 27, 2014 at 3:42 AM, Alexey Vasiliev < leopard...@inbox.ru > wrote: >> Thanks for suggestions. >> >> Patch updated. > >Cool, thanks. I just had an extra look at it. > >+This is useful, if I using for restore of wal log

[HACKERS] Re: [HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2014-12-26 Thread Alexey Vasiliev
Thanks for suggestions. Patch updated. Mon, 22 Dec 2014 12:07:06 +0900 от Michael Paquier : >On Tue, Nov 4, 2014 at 6:25 AM, Alexey Vasiliev < leopard...@inbox.ru > wrote: >> Added new patch. >Seems useful to me to be able to tune this interval of time. > >I

[HACKERS] Re[2]: [HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2014-11-04 Thread Alexey Vasiliev
Tue, 4 Nov 2014 14:41:56 +0100 от Andres Freund : > Hi, > > On 2014-11-03 14:04:00 +0300, Alexey Vasiliev wrote: > > * What the patch does in a short paragraph: This patch should add option  > > recovery_timeout, which help to control timeout of restore_command nonzero &

[HACKERS] Re[2]: [HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2014-11-04 Thread Alexey Vasiliev
Mon, 3 Nov 2014 22:55:02 -0200 от Fabrízio de Royes Mello : > > > > On Mon, Nov 3, 2014 at 7:25 PM, Alexey Vasiliev < leopard...@inbox.ru > wrote: > > > > > > > > > > Mon, 3 Nov 2014 19:18:51 -0200 от Fabrízio de Royes Mello < > >

[HACKERS] Re[3]: [HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2014-11-03 Thread Alexey Vasiliev
> > > You should just send another version of your patch by email and add a new > "comment" to commit-fest using the "Patch" comment type. Added new patch. -- Alexey Vasiliev From a5d941717df71e4c16941b8a02f0dca40a1107a0 Mon Sep 17 00:00:00 2001 From: Alexey

[HACKERS] Re[2]: [HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2014-11-03 Thread Alexey Vasiliev
Mon, 03 Nov 2014 14:36:33 -0500 от Peter Eisentraut : > On 11/3/14 6:04 AM, Alexey Vasiliev wrote: > > 3. What the patch does in a short paragraph: This patch should add > > option recovery_timeout, which help to control timeout of > > restore_command nonzero s

[HACKERS] Patch: add recovery_timeout option to control timeout of restore_command nonzero status code

2014-11-03 Thread Alexey Vasiliev
about name of option. Maybe it should called "recovery_nonzero_timeout". -- Alexey VasilievFrom 35abe56b2497f238a6888fe98c54aa9cb5300866 Mon Sep 17 00:00:00 2001 From: Alexey Vasiliev Date: Mon, 3 Nov 2014 00:21:14 +0200 Subject: [PATCH] add recovery_timeout to controll timeout between restore_

[HACKERS] Re[2]: [HACKERS] Re[2]: [HACKERS] Connect from background worker thread to database

2013-11-24 Thread Alexey Vasiliev
Понедельник, 25 ноября 2013, 13:31 +09:00 от Michael Paquier : >On Mon, Nov 25, 2013 at 1:02 PM, Alexey Vasiliev < leopard...@inbox.ru > wrote: >> Thanks, I just try this. This work if I working with database in loop inside >> bgw_main function. But if I create threads insid

[HACKERS] Re[2]: [HACKERS] Re[2]: [HACKERS] Connect from background worker thread to database

2013-11-24 Thread Alexey Vasiliev
Понедельник, 25 ноября 2013, 8:31 +09:00 от Michael Paquier : >On Mon, Nov 25, 2013 at 2:10 AM, Alexey Vasiliev < leopard...@inbox.ru > wrote: >> Воскресенье, 24 ноября 2013, 14:06 +01:00 от Andres Freund >> < and...@anarazel.de >: >> >> Hi, >>

[HACKERS] Re[2]: [HACKERS] Connect from background worker thread to database

2013-11-24 Thread Alexey Vasiliev
t a tip, pull  >> request - anything. Google search and PostgreSQL sources reading  so far >> helped me to this point. > >At the very least you're calling InitPostgres() instead of >BackgroundWorkerInitializeConnection() which you have commented out. And >the latter s