Re: [INTERFACES] M$-Access'97 and TIMESTAMPs

From: Byron Nikolaidis <byronn(at)insightdist(dot)com>
To: "Jose' Soares Da Silva" <sferac(at)bo(dot)nettuno(dot)it>
Cc: interfaces postgres <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] M$-Access'97 and TIMESTAMPs
Date: 1998-06-09 15:55:41
Message-ID: 357D5AFD.4C5207F9@insightdist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-06-09 16:42:37 Re: [HACKERS] v6.4 - What is planned...?
Previous Message Vadim Mikheev 1998-06-09 15:47:06 Re: Row-level lock

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jose' Soares Da Silva 1998-06-09 17:25:11 Re: M$-Access'97 and TIMESTAMPs
Previous Message Byron Nikolaidis 1998-06-09 15:12:13 Re: [INTERFACES] Re: M$-Access'97 and TIMESTAMPs