Ns_DbTableInfo *Ns_DbGetTableInfo( Ns_DbHandle *handle, char *table, int fExtended );
Ns_DbTableInfo
structure for the given table. The fExtended
argument is a flag indicating whether to retrieve extended information or just the names and types of the columns in the table. This structure should only be passed to the functions below and not be modified.Calling this function results in a query against the database system catalogs. This can be an expensive operation. Also, the Ns_DbTableInfo structure returned must be deallocated with Ns_DbFreeTableInfo when no longer needed.