Re: Fix for SQLStatistics - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Fix for SQLStatistics
Date
Msg-id 3B01CC59.E99F36B9@tpf.co.jp
Whole thread Raw
In response to Fix for SQLStatistics  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Fix for SQLStatistics  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Fix for SQLStatistics  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-odbc
Bruce Momjian wrote:
>
> Attached is a small patch to SQLStatistics() to allow proper information
> about CLUSTER and HASH indexes, as proposed by the ODBC code.  Right now
> the CLUSTER information is not maintained, but the HASH is accurate.
> Also, I found that the tests for UNIQUE and CLUSTER were done using
> atoi().  I don't think that works because these queries return 't' or
> 'f', not 1 or 0.
>

Psqlodbc driver automatically coverts t/f to 1/0.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Bruce Momjian
Date:
Subject: Fix for SQLStatistics
Next
From: Bruce Momjian
Date:
Subject: Re: Fix for SQLStatistics