From: Jelle Ruttenberg <ruttenberg@neroc.nl>
To: postgresql-interfaces <pgsql-interfaces@postgresql.org>
To: dbi-users <dbi-users@isc.org>
To: postgresql-interfaces <pgsql-interfaces@postgresql.org>
To: postgresql-general <pgsql-general@postgresql.org>
To: postgresql-interfaces <pgsql-interfaces@postgresql.org>
Cc: postgresql-general <pgsql-general@postgresql.org>
Subject: Q: ODBC- and PostgreSQL-datatypes difference?
Date: Wed, 6 Oct 1999 16:28:23 +0200
Message-ID: <199910061422.QAA01813@mail.neroc.nl> (raw)
Hi all,
I've posted some time ago about my experiences concerning connecting from
a Mac-client via OpenLink to a Linux-server with PostgreSQL. Now I'm able
to connect, but the datatypes ODBC gives back to the client aren't all as
I supposed they would be.
A small table with some datatypes/results:
PostgreSQL- Length ODBC-datatype
datatype
bool 1 SQL_CHAR
date 10 SQL_CHAR
time 16 SQL_CHAR
timestamp 30 SQL_CHAR
int2 2 SQL_SMALLINT
int4 4 SQL_INTEGER
int8 8 SQL_CHAR
float4 4 SQL_REAL
float8 8 SQL_DOUBLE
char 16 SQL_CHAR
varchar 255 SQL_VARCHAR
text 8000 SQL_LONGVARCHAR
Is this normal behaviour, or is this due to the OpenLink-software which
has a database-agent highly possible based on Postgres95, or is this
something different?
I suppose PostgreSQL 'talks' with ODBC-clients via an embedded
ODBC-interface. If so, how can I test this interface and check if there
are some problems?
PostgreSQL: 6.5.2
Linux: RH 6.0
Thanks,
Jelle.
--------------------------------------------------------------
NEROC Publishing Solutions
Jelle Ruttenberg
De Run 1131, 5503 LB Veldhoven Phone : +31-(0)40-2586641
P.O.Box 133, 5500 AC Veldhoven Fax : +31-(0)40-2541893
The Netherlands E-mail : ruttenberg@neroc.nl
--------------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: ruttenberg@neroc.nl, dbi-users@isc.org, pgsql-general@postgresql.org
Subject: Re: Q: ODBC- and PostgreSQL-datatypes difference?
In-Reply-To: <199910061422.QAA01813@mail.neroc.nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox