Thread: BUG #1415: odbc driver SQLGetInfo SQL_CATALOG_TERM returns empty string

BUG #1415: odbc driver SQLGetInfo SQL_CATALOG_TERM returns empty string

From
"Farid Zidan"
Date:
The following bug has been logged online:

Bug reference:      1415
Logged by:          Farid Zidan
Email address:      cpp256@netscape.net
PostgreSQL version: 8.0
Operating system:   Windows 2000
Description:        odbc driver SQLGetInfo SQL_CATALOG_TERM returns empty
string
Details:

odbc driver version 8.00.00.04 returns empty string for SQL_CATALOG_TERM.
Should return "database"

rc = SQLGetInfo( m_hdbc, SQL_CATALOG_TERM,
                         m_szCatalogTerm, sizeof( m_szCatalogTerm ), &cb );

Re: BUG #1415: odbc driver SQLGetInfo SQL_CATALOG_TERM returns

From
Bruce Momjian
Date:
Would you submit a patch to the ODBC sources to do this?  Thanks.

---------------------------------------------------------------------------

Farid Zidan wrote:
>
> The following bug has been logged online:
>
> Bug reference:      1415
> Logged by:          Farid Zidan
> Email address:      cpp256@netscape.net
> PostgreSQL version: 8.0
> Operating system:   Windows 2000
> Description:        odbc driver SQLGetInfo SQL_CATALOG_TERM returns empty
> string
> Details:
>
> odbc driver version 8.00.00.04 returns empty string for SQL_CATALOG_TERM.
> Should return "database"
>
> rc = SQLGetInfo( m_hdbc, SQL_CATALOG_TERM,
>                          m_szCatalogTerm, sizeof( m_szCatalogTerm ), &cb );
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073