(RADIATOR) transaction parameteres

Mike McCauley mikem at open.com.au
Thu May 27 18:37:01 CDT 2004


Hello Oleg,

Thank you for this suggestion.
We have now added a new ConnectionHook parameter to all the SQL type clauses. 
ConnectionHook runs each time Radiator (re)connects to the database for that 
clause. You can use it to call func like this:

ConnectionHook sub {$_[1]->func(-access_mode => 'read_write',\
        -isolation_level => 'read_committed',\
       	-lock_resolution => 'wait',\
       	'ib_set_tx_param')}

The new version is available in the 3.9 patches area.
Thanks again for this suggestion.

Cheers.

On Thu, 27 May 2004 04:46 pm, Oleg E. Shubarov wrote:
> Hi,
>
> >> we use DBMS Interbase. In DBD it is possible to control transaction
> >> parameteres with ib_set_tx_param
>
> MM> At present the base code does not provide a method to do that.
> MM> The arguments to func() can be arbitrarily complicated, but I can see a
> way MM> for func() to be called after database connection with some
> arguments that MM> are set by a StartupHook.
>
> MM> I am wondering about the general usefulness of such a patch. Anyone
> else with MM> views about how useful this would be?
>
> It would be very useful, since the default transaction parameters do
> not fit us and create some problems. We would like to be able to
> control those parameters.
>
> Thanks.
>
>
> ----
> Oleg Shubarov,
> JSC "AK Mobiltelecom"
>
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS etc.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list