Re: [HACKERS] Patch for reserved connections for replication users

2013-10-19 Thread Gibheer
On Sat, 19 Oct 2013 12:09:57 +0530 Amit Kapila wrote: > On Thu, Oct 17, 2013 at 8:57 AM, Amit Kapila > wrote: > > On Wed, Oct 16, 2013 at 4:30 AM, Gibheer > > wrote: > >> On Mon, 14 Oct 2013 11:52:57 +0530 > >> Amit Kapila wrote: > >> &

Re: [HACKERS] Patch for reserved connections for replication users

2013-10-15 Thread Gibheer
On Mon, 14 Oct 2013 11:52:57 +0530 Amit Kapila wrote: > On Sun, Oct 13, 2013 at 2:08 PM, Gibheer > wrote: > > On Sun, 13 Oct 2013 11:38:17 +0530 > > Amit Kapila wrote: > > > >> On Thu, Oct 10, 2013 at 3:17 AM, Gibheer > >> wrote: > >> >

Re: [HACKERS] Patch for reserved connections for replication users

2013-10-13 Thread Gibheer
On Sun, 13 Oct 2013 11:38:17 +0530 Amit Kapila wrote: > On Thu, Oct 10, 2013 at 3:17 AM, Gibheer > wrote: > > On Mon, 7 Oct 2013 11:39:55 +0530 > > Amit Kapila wrote: > >> Robert Haas wrote: > >> On Mon, Aug 5, 2013 at 2:04 AM, Andres Freund > >> w

Re: [HACKERS] Patch for reserved connections for replication users

2013-10-11 Thread Gibheer
On Fri, 11 Oct 2013 10:00:51 +0530 Amit Kapila wrote: > On Thu, Oct 10, 2013 at 10:06 PM, Gibheer > wrote: > > On Thu, 10 Oct 2013 09:55:24 +0530 > > Amit Kapila wrote: > > > >> On Thu, Oct 10, 2013 at 3:17 AM, Gibheer > >> wrote: > >> >

Re: [HACKERS] Patch for reserved connections for replication users

2013-10-10 Thread Gibheer
On Thu, 10 Oct 2013 09:55:24 +0530 Amit Kapila wrote: > On Thu, Oct 10, 2013 at 3:17 AM, Gibheer > wrote: > > On Mon, 7 Oct 2013 11:39:55 +0530 > > Amit Kapila wrote: > >> Robert Haas wrote: > >> On Mon, Aug 5, 2013 at 2:04 AM, Andres Freund > >> w

Re: [HACKERS] Patch for reserved connections for replication users

2013-10-09 Thread Gibheer
On Mon, 7 Oct 2013 11:39:55 +0530 Amit Kapila wrote: > Robert Haas wrote: > On Mon, Aug 5, 2013 at 2:04 AM, Andres Freund > wrote: > >>> Hmm. It seems like this match is making MaxConnections no longer > >>> mean the maximum number of connections, but rather the maximum > >>> number of non-repli

Re: [HACKERS] Patch for reserved connections for replication users

2013-08-04 Thread Gibheer
On Fri, 2 Aug 2013 08:16:15 -0400 Robert Haas wrote: > On Tue, Jul 30, 2013 at 3:10 AM, Gibheer > wrote: > > here is an update off my patch based on the discussion with Marko > > Tiikkaja and Andres Freund. > > > > Marko and I had the idea of introducing reserved

Re: [HACKERS] Backup throttling

2013-07-31 Thread Gibheer
On Wed, 31 Jul 2013 22:50:19 +0200 Antonin Houska wrote: > On 07/31/2013 07:13 AM, Gibheer wrote: > > Hi, > > > > That is a really nice feature. > I don't pretend it's my idea, I just coded it. My boss proposed the > feature as such :-) > > I took a fi

Re: [HACKERS] Backup throttling

2013-07-30 Thread Gibheer
On Wed, 24 Jul 2013 09:20:52 +0200 Antonin Houska wrote: > Hello, > the purpose of this patch is to limit impact of pg_backup on running > server. Feedback is appreciated. > > // Antonin Houska (Tony) Hi, That is a really nice feature. I took a first look at your patch and some empty lines yo

Re: [HACKERS] Patch for reserved connections for replication users

2013-07-30 Thread Gibheer
Hi, here is an update off my patch based on the discussion with Marko Tiikkaja and Andres Freund. Marko and I had the idea of introducing reserved connections based on roles as it would create a way to garantuee specific roles to connect when other roles use up all connections for whatever reason

Re: [HACKERS] replication_reserved_connections

2013-07-28 Thread Gibheer
On Sun, 28 Jul 2013 02:23:47 +0200 Marko Tiikkaja wrote: > Hi, > > Yesterday an interesting scenario was diagnosed on IRC. If you're > running a synchronous slave and the connection to the slave is lost > momentarily, your backends start naturally waiting for the slave to > reconnect. If th

[HACKERS] Patch for reserved connections for replication users

2013-07-11 Thread Gibheer
Hi, this patch introduces a new configuration flag replication_reserved_connections to reserve connection slots for replication in the same way superuser_reserved_connections works for superusers. This helps in cases where the application opens connections until max_connections is reached. A slav

Re: [HACKERS] 9.2 Cascading replication after slave promotion

2012-09-21 Thread Gibheer
On Tue, 14 Aug 2012 10:50:07 -0700 Josh Berkus wrote: > > > Yeah, I think there's more people that agree with this use-case > > than you seem to think.. That said, I appreciate that it's not a > > trivial thing to support cleanly. > > Not trivial, no, but not major either. Really what needs t

Re: [HACKERS] LLVM / clang

2010-06-30 Thread Gibheer
On Fri, 25 Jun 2010 15:49:40 -0400, Peter Eisentraut wrote: > > For the record, here is a patch that would address these issues. > > At the moment, I'm waiting to get my hands on the new version 2.7 of > clang to see if some of these issues have gone away. > > Considering that clang already hel