| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
| 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 02:38:47 |
| Message-ID: | 200105160238.f4G2clV24005@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-odbc pgsql-patches |
OK, here is a new version of the patch, with the true/false stuff fixed.
[ Charset US-ASCII unsupported, converting... ]
> 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
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 3.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Issurdatt, Portia CECOM RDEC STCD SRC | 2001-05-16 12:54:52 | |
| Previous Message | Hiroshi Inoue | 2001-05-16 01:55:54 | Re: StarOffice5.2+psqlODBC+PostgreSQL-7.1.1 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2001-05-16 03:01:47 | Re: BlobInputStream.java patch |
| Previous Message | Bruce Momjian | 2001-05-16 02:35:46 | Re: [PATCHES] DatabaseMetaData.getIndexInfo() added |