Carlos, again, why not figure out why events aren't working at your site.
It is a mechanism designed from the beginning to do what you want,
e.g. notify other connections of a database state change.
What you are suggesting will introduce far more problems than it purports
to solve.
If there is is a Firebird bug, isolate it so somebody can fix it. If it is
your bug, fix it yourself.
If it's a firewall problem (the original code was written long before
firewalls were invented), change re secondary connection mechanism to use
the primary port.
On Friday, February 27, 2015, Carlos H. Cantu <lis...@warmboot.com.br>
wrote:
> AP> And this may play bad jokes from stability POV - imagine having old
> AP> values in the beginning of some complex request but new one in the end.
>
> Exactly. I have no idea about how context variables was implemented
> internally, but do you think there is a chance to make them respect
> the isolation of its transaction when retrieving the values?
>
> []s
> Carlos
> http://www.firebirdnews.org
> FireBase - http://www.FireBase.com.br
>
> AP> On 02/26/15 21:04, Dmitry Yemanov wrote:
>
> >>> But your point raised a doubt here: what is the "isolation" of a
> >>> USER_SESSION context variable regarding active snapshot transactions?
> >> Context variables are outside the transaction control, so the new values
> >> are available immediately.
> >>
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
--
Jim Starkey
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel