Alvaro Herrera alvherre at alvh.no-ip.org
Tue Apr 22 12:01:14 PDT 2008
Chris Browne wrote:
> Here's a link to the ViewCVS view of the code:
> 
> http://main.slony.info/viewcvs/viewvc.cgi/slony1-engine/src/backend/slony1_funcs.c?view=markup
> 
> The relevant code fragment:
> 
> 	if (SerializableSnapshot == NULL)
> 		elog(ERROR, "Slony-I: SerializableSnapshot is NULL in createEvent()");
> 
> If you remove SerializableSnapshot, that code will obviously need
> rejigging; we'd appreciate hearing what would be the analagous
> functionality in a "post-SerializableSnapshot world."

Oh, that's it?  That's easy -- just check the "FirstSnapshotSet"
boolean.  This is not on the current code; it will be introduced by the
patch I'm about to post.

-- 
Alvaro Herrera                        http://www.advogato.org/person/alvherre
"Porque Kim no hacia nada, pero, eso sí,
con extraordinario éxito" ("Kim", Kipling)


More information about the Slony1-hackers mailing list