Subject | Re: [firebird-support] Re: shut down single via service api (second attempt) |
---|---|
Author | Carlos H. Cantu |
Post date | 2008-12-29T17:02:57Z |
Yes, just use isc_dpb_online and you will be fine.
Carlos
http://www.firebirdnews.org
FireBase - http://www.FireBase.com.br
t> Ivan and Carlos,
t> What would be the best way to bring the database back online?
t> Obviously the database stays shut down after detach. Do I have to
t> attach again with isc_dpb_online? Or use the services api?
t> --Heiko
Carlos
http://www.firebirdnews.org
FireBase - http://www.FireBase.com.br
t> Ivan and Carlos,
>> You can do it by normal FB API callt> Thanks a lot - works like a charm :-)
>> isc_attach_database()
>> look at DPB constants
>> isc_dpb_shutdown
>> isc_dpb_shut_single
>> isc_dpb_shut_force
>> isc_dpb_shutdown_delay
t> What would be the best way to bring the database back online?
t> Obviously the database stays shut down after detach. Do I have to
t> attach again with isc_dpb_online? Or use the services api?
t> --Heiko