From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ben Davis <bendavis78@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: longchar data type??
Date: Thu, 19 Jan 2006 19:20:17 -0500
Message-ID: <11307.1137716417@sss.pgh.pa.us> (raw)
In-Reply-To: <67da7c6a0601191607v665aebb8s33aa5fdf4777bda8@mail.gmail.com>
References: <67da7c6a0601191607v665aebb8s33aa5fdf4777bda8@mail.gmail.com>
Ben Davis <bendavis78@gmail.com> writes:
> Hi all. I'm desparately trying to get Microsoft Project to connect to work
> with my postgresql server via ODBC. For some reason, MS Project tries to
> create a column with the datatype "longchar" when it should be
> "longvarchar". Is it possible to tweak the psqlodbc source code so that it
> will accept the "longchar" type and convert it to "text" ?? I'd be happy
> to write a patch if someone can point me in the right direction...
Seems like it might work to just go
CREATE DOMAIN longchar AS text;
regards, tom lane
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: tgl@sss.pgh.pa.us, bendavis78@gmail.com
Subject: Re: longchar data type??
In-Reply-To: <11307.1137716417@sss.pgh.pa.us>
References: <67da7c6a0601191607v665aebb8s33aa5fdf4777bda8@mail.gmail.com> <11307.1137716417@sss.pgh.pa.us>
* 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