Top

Name

cfg_item_name — get nth item name from ini file

Synopsis

cfg_item_name ( in path varchar ,
  in section varchar ,
  in item_index integer );
 

Description

Returns the name of the item specified by item_index (begins from zero). If the index and section name do not point to a valid item, then zero is returned, otherwise on success the function returns the item name.

Parameters

path

Name of the INI file.

section

Name of the section in the INI file.

item_index

Zero based index to the item within the section to be listed.

Return Values

A varchar containing the name of item referenced by section and item_index .

Examples

Example 24.32. Simple examples

Display the first keyname in the [Parameters] section of the current virtuoso.ini file.

SQL> select cfg_item_name(virtuoso_ini_path(), 'Parameters',0);
callret
VARCHAR
________________________________________________

ServerPort