Jan Wieck JanWieck at Yahoo.com
Thu Sep 27 10:37:30 PDT 2007
On 9/26/2007 6:29 AM, Marko Kreen wrote:
> On 9/25/07, Jan Wieck <JanWieck at yahoo.com> wrote:
>> On 9/25/2007 3:23 PM, Marko Kreen wrote:
>> > On 9/25/07, Jan Wieck <JanWieck at yahoo.com> wrote:
>> >> On 9/25/2007 1:58 PM, Marko Kreen wrote:
>> >> > On 9/25/07, Jan Wieck <JanWieck at yahoo.com> wrote:
>> >> >> txid_lt_snapshot() would then be txid_committed_before(int8, sn) and
>> >> >> txid_gt_snapshot() respectively txid_committed_after(int8, sn).
> 
> Agh.   I was bit in hurry as missed that you already suggested
> better names.
> 
>> If you don't like txid_committed_before/after, how about
>>
>>      txid_visible_in_snapshot(int8,snap)
>>      txid_not_visible_in_snapshot(int8,snap)
>>
>> It's only names of functions that are very likely coded into programs
>> rather than used interactively. So the length of the function name
>> doesn't really matter.
> 
> Now thinking about it, I like 'visible' better than 'committed'
> as latter suggest knowledge about transaction result which is
> weird, especially for committed_after.
> 
> Lets go with txid_visible_in_snapshot() then.
> 
> 
> What now?  We should run this thru -hackers too.  I could
> even prepare patch for /contrib, to show the code too and maybe
> the hell will froze for a moment and this will get into 8.3 ;)

I've talked to Tom briefly on -core. What we need to do is to agree on a 
module name, the naming conventions (I think we got those already) and 
get the final code done within the next 2 weeks. I'll be in Hong Kong 
October 10-11, so that week is almost gone with meetings, travel and 
fighting jet lag. I will review the code when I'm back, test it using 
Slony-I HEAD by actually porting Slony to it, and add it to contrib.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck at Yahoo.com #


More information about the Slony1-hackers mailing list