Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

FairCom DB API Function for defining list of dynamic partition members

A new function was added to FairCom DB API to provide the ability to define a list of dynamic partition members. This allows you to set the partition table dynamic members when using the FILESET() syntax in SQL.

Declaration

CTDBRET ctdbSetTablePartitionDynMbrs(CTHANDLE Handle, pTEXT partdesc)

Description

ctdbSetTablePartitionDynMbrs sets the dynamic member list for a partitioned file. It must be called before calling ctdbOpenTable.

Parameters

  • Handle [IN] - Table Handle.
  • partdesc [IN] - The extension string describing the partition members. FairCom DB API does not keep a copy of the string which then must persist in memory until the end of the ctdbOpen call.

Return

Error code

TOCIndex