Page 1 of 1

Apicp diagnostics

Posted: Thu Jan 24, 2013 2:35 pm
by tboyer
Is there any way to print the current apicp settings at the time a SQL query is run?

We set apicps in lots of places in our application and I'd like to ascertain what settings are actually being applied.

Apicp diagnostics

Posted: Thu Jan 24, 2013 2:53 pm
by Kai
In Texis version 6 and later, <apiinfo $setting> can be called to get the current value of $setting. <apiinfo "settings"> will return a list of all available settings.

Note that there are some SQL properties (SQL "set property='value'") that might affect searches but are not APICP settings, e.g. addexp for index expressions. There is currently no general way to obtain such SQL property value.