From: Ben Davis <bendavis78@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-odbc@postgresql.org
Subject: Re: longchar data type??
Date: Fri, 20 Jan 2006 07:58:06 -0600
Message-ID: <67da7c6a0601200558oaa1d848i4f554322473d10b7@mail.gmail.com> (raw)
In-Reply-To: <11307.1137716417@sss.pgh.pa.us>
References: <67da7c6a0601191607v665aebb8s33aa5fdf4777bda8@mail.gmail.com>
<11307.1137716417@sss.pgh.pa.us>
Great! I'm all for an easier solution :-)
On 1/19/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> 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: bendavis78@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: longchar data type??
In-Reply-To: <67da7c6a0601200558oaa1d848i4f554322473d10b7@mail.gmail.com>
References: <67da7c6a0601191607v665aebb8s33aa5fdf4777bda8@mail.gmail.com> <11307.1137716417@sss.pgh.pa.us> <67da7c6a0601200558oaa1d848i4f554322473d10b7@mail.gmail.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