Hello, I created this idea in conjunction with the SR below.
https://support.tibco.com/s/case/5004z00001uHqlwAAC/how-to-get-the-information-of-the-connected-tdv-datasource-from-the-dsn-set-in-window
Currently, the TDV ODBC driver does not provide the ability to retrieve the Datasource name from the information stored in the DSN.
When you call SQL_DATABASE_NAME in SQLGetInfo, it calls the CATALOG name.
When I inquired about this through SR, Support said that this feature is normal because it calls Catalog.
However, in the virtual database provided by TDV, Catalog is simply an object to distinguish between tiers, so it seems normal to provide Datasource separately from Catalog as in a multi-tier DB like Vertica.