Re: [Firebird-devel] Services API validation differences

2019-01-17 Thread Jiří Činčura
> But approaches are so different that both should be supported.

Absolutely. I'm creating the implementation for isc_action_svc_validate right 
now. It was just my personal curiosity.

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Services API validation differences

2019-01-17 Thread Alex Peshkoff via Firebird-devel

On 1/17/19 2:38 PM, Jiří Činčura wrote:

I.e. isc_action_svc_repair is services frontend for gfix utility (needs
exclusive DB access, can repair broken DB) but isc_action_svc_validate
is used for online validation.

OK, so both do validation (in case of isc_spb_rpr_validate_db), it's just 
different approach, right?



Yes.
But approaches are so different that both should be supported.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Services API validation differences

2019-01-17 Thread Alex Peshkoff via Firebird-devel

On 1/17/19 1:41 PM, Jiří Činčura wrote:

Hi,

what's the difference between isc_action_svc_repair + isc_spb_rpr_validate_db 
and isc_action_svc_validate?



#define isc_action_svc_repair  3    /* Starts database repair 
process on the server */


#define isc_action_svc_validate   30    // Starts database online 
validation


I.e. isc_action_svc_repair is services frontend for gfix utility (needs 
exclusive DB access, can repair broken DB) but isc_action_svc_validate 
is used for online validation.





Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Services API validation differences

2019-01-17 Thread Jiří Činčura
Hi,

what's the difference between isc_action_svc_repair + isc_spb_rpr_validate_db 
and isc_action_svc_validate?

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel