[HACKERS] BDR Consistency in Insert/Update pkey conflicts

2014-11-30 Thread Robert Berry
I'm curious to know what the expected behavior is for an insert / update conflict on a primary key field. The wiki suggested "divergence conflicts" would be logged and replication would halt for the downstream master. There is a case where the databases "diverge" such that they are no longer cons

Re: [HACKERS] calculating an aspect of shared buffer state from a background worker

2014-03-10 Thread Robert Berry
rough estimate accounting for sizes or other shenanigans? Thank you again, the clues to look at buffer descriptors and ShmemInitStruct are very helpful. Best Regards, Robert On Mon, Mar 10, 2014 at 7:33 AM, Tom Lane wrote: > Robert Berry writes: > > I'm looking at doing a calc

[HACKERS] calculating an aspect of shared buffer state from a background worker

2014-03-09 Thread Robert Berry
Dear Hackers -- I'm looking at doing a calculation to determine the number of free buffers available. A n example ratio that is based on some data structures in freelist.c as follows: (StrategyControl->lastFreeBuffer - StrategyControl->firstFreeBuffer) / (double) NBuffers Is there a way to get

Re: [HACKERS] First patch -- somewhat trivial feature

2013-11-13 Thread Robert Berry
trivial user text output feature, but implementing output formats that are more machine friendly still makes a lot of sense. Best Regards, -Robert On Wed, Nov 13, 2013 at 4:16 PM, David Johnston wrote: > Stephen Frost wrote > > * Robert Berry ( > > > berrydigital@ > > &g

[HACKERS] First patch -- somewhat trivial feature

2013-11-13 Thread Robert Berry
7 00:00:00 2001 From: robert berry Date: Wed, 13 Nov 2013 15:29:23 -0800 Subject: [PATCH 1/1] Adds a convenience feature to the explain command which prints out GUC cost parameters in explain text output. For example: will include text output like the following: Cost Params: seq_page