Re: Fix for SQLStatistics

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL odbc list <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Fix for SQLStatistics
Date: 2001-05-16 00:39:53
Message-ID: 3B01CC59.E99F36B9@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc pgsql-patches

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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Bruce Momjian 2001-05-16 00:45:23 Re: Fix for SQLStatistics
Previous Message Bruce Momjian 2001-05-15 19:18:10 Fix for SQLStatistics

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-05-16 00:45:23 Re: Fix for SQLStatistics
Previous Message Bruce Momjian 2001-05-15 23:46:44 Re: [PATCHES] DatabaseMetaData.getIndexInfo() added