code: public String getCatalogName(int column) throws SQLException {
  
          checkColumn(column);
  
          String name = resultMetaData.columns[--column].getCatalogNameString();
  
          return name == null ? ""
                              : name;
      }
docs: <!-- start generic documentation -->
  Gets the designated column's table's catalog name.
  <!-- end generic documentation -->
  
  <!-- start Release-specific documentation -->
  <div class="ReleaseSpecificDocumentation">
  <h3>HSQLDB-Specific Information:</h3> <p>
  
  From 1.9.0, HSQLDB returns the name of the catalog. The default name is
  PUBLIC.
  This value can be changed for the database using an SQL command.<p>
  
  HSQLDB supports use of catalog qualification in DLL or DML when it is
  allowed by the Standard. <p>
  
  However, not all clients respect the SQL Standard and may use a
  catalog qualifier in a context where it is not suppoted by the Standard.
  <p>
  
  For greater detail, see discussion at:
  {@link JDBCDatabaseMetaData}. <p>
  
  </div>
  <!-- end release-specific documentation -->
  
  @param column the first column is 1, the second is 2, ...
  @return the name of the catalog for the table in which the given column
  appears or "" if not applicable
  @exception SQLException if a database access error occurs