PvGetTableStat2()
Returns statistical information on a given table including whether its data file is using compressed data pages. See also Creating a File with Page Level Compression in PSQL Programmer's Guide and Record and Page Compression in Advanced Operations Guide.
Header File: ddf.h (See also Header Files)
Function First Available In Library: w3dbav90.dll (Windows), libpsqldti.so (Linux), libpsqldti.dylib (OS X) (See also Link Libraries)
Syntax
PRESULT DDFAPICALLTYPE PvGetTableStat2   (
   BTI_WORD              dbHandle,
   const BTI_CHAR*       tableName,
   TABLESTAT*            tableStat);
Arguments
TABLESTAT structure containing table statistics information.
 
Return Values
 
Remarks
You must first obtain a database handle using PvOpenDatabase().
You can retrieve more information about a specific table using PvGetTable().
For more information see Differences Between TABLESTAT2 and TABLESTAT.
See Also
PvGetTableStat()
PvStart()
PvOpenDatabase()
PvOpenDatabase()
PvGetTable()
PvFreeTable()
PvFreeTableNames()
PvCloseDictionary()
PvCloseDatabase()
PvStop()