Re: longchar data type?? - Mailing list pgsql-odbc

From Ben Davis
Subject Re: longchar data type??
Date
Msg-id 67da7c6a0601200558oaa1d848i4f554322473d10b7@mail.gmail.com
Whole thread Raw
In response to Re: longchar data type??  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-odbc
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

pgsql-odbc by date:

Previous
From: "shriganesh shintre"
Date:
Subject: psqlodbc compilation and deployment on windows
Next
From: Ludek Finstrle
Date:
Subject: Re: psqlodbc compilation and deployment on windows