Re: [INTERFACES] M$-Access'97 and TIMESTAMPs - Mailing list pgsql-interfaces

From Byron Nikolaidis
Subject Re: [INTERFACES] M$-Access'97 and TIMESTAMPs
Date
Msg-id 357D5AFD.4C5207F9@insightdist.com
Whole thread Raw
In response to Re: [INTERFACES] M$-Access'97 and TIMESTAMPs  ("Jose' Soares Da Silva" <sferac@bo.nettuno.it>)
List pgsql-interfaces

Jose' Soares Da Silva wrote:

> Also the following types are recognized as text:
>        int28
>        oid8
>        oidint2
>        oidint4
>

Just a little history here...any data type that is not directly supported by the
odbc driver will get mapped to SQL_VARCHAR or SQL_LONGVARCHAR, depending on
driver 'data type options'.  That allows you to view it and possibly update it,
if there is an appropriate operator.  This is great compared to what the driver
used to do in the old days with unsupported types (i.e., crash with no
descriptive error message)!

For int28 and oid8, there is no SQL data type that maps.  Text is the only way to
display it that I know of.

oidint2 and oidint4 are just integers I guess, and probably could be mapped to
SQL_SMALLINT and SQL_INTEGER, respectively.


Byron


pgsql-interfaces by date:

Previous
From: Byron Nikolaidis
Date:
Subject: Re: [INTERFACES] Re: M$-Access'97 and TIMESTAMPs
Next
From: "Jose' Soares Da Silva"
Date:
Subject: Re: M$-Access'97 and TIMESTAMPs