pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Cherubini Enrico <kevin@bestkevin.com>
To: pgsql-odbc@postgresql.org
Subject: data type conversion ?
Date: Wed, 20 Nov 2002 15:10:24 +0100
Message-ID: <20021120141024.GA28464@bestkevin.com> (raw)
Hi,
I just installed, after a long time, the odbc driver to test accessing to a
postgresql db on my debian woody box. Well, my need is to access it from a
program that is designed to use other DB, like sybase, M$ sql server and so
on...the program is closesd source, so I cannot modify it. The first impact
was "bad, I cannot access it" but looking at the queries I noticed that the
problem of the error in some table creations, are caused by different name
of data type (or unimplemented). Ie...I get:
create table AZIENDA ( ....., LOGO_AZIENDA lo(4), ...)
this is using the procedure that suppose M$ sql server backend, and:
create table AZIENDA ( ....., LOGO_AZIENDA long varbinary)
if using the DB2/400 procedure
Well..I suppose this field should keep a binary information, but, more
generally, shouldn't be nice a way to translate such data type in such a way
that can be keeped by postgresql ? On the fly by the odbc driver, before
sending the query to the db...It should be a nice option where frontend are
not designed to use postgresql.
Thanks for your attention.
--
Bye Enrico - Le finestre sono spiragli di finta liberta'. Scegli Linux.
sì che per sua dottrina fe disgiunto
da l'anima il possibile intelletto,
perche da lui non vide organo assunto.
-- Purgatorio, Canto XXV, vv.64-66
Message-ID: <20021120141024.GA28464@bestkevin.com> Permalink: ../20021120141024.GA28464@bestkevin.com/ Also on: postgresql.org/message-id/20021120141024.GA28464@bestkevin.com ·
reply
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 from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-odbc@postgresql.org Cc: kevin@bestkevin.com Subject: Re: data type conversion ? In-Reply-To: <20021120141024.GA28464@bestkevin.com> References: <20021120141024.GA28464@bestkevin.com> * 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