Apicp diagnostics

Post Reply
tboyer
Posts: 68
Joined: Mon Aug 28, 2006 4:43 pm

Apicp diagnostics

Post 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.
User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

Apicp diagnostics

Post 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.
Post Reply