X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9361A9DC889 for ; Thu, 19 Jan 2006 20:20:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51716-02 for ; Thu, 19 Jan 2006 20:20:22 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E0DCB9DC81D for ; Thu, 19 Jan 2006 20:20:15 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k0K0KHIB011308; Thu, 19 Jan 2006 19:20:17 -0500 (EST) To: Ben Davis cc: pgsql-odbc@postgresql.org Subject: Re: longchar data type?? In-reply-to: <67da7c6a0601191607v665aebb8s33aa5fdf4777bda8@mail.gmail.com> References: <67da7c6a0601191607v665aebb8s33aa5fdf4777bda8@mail.gmail.com> Comments: In-reply-to Ben Davis message dated "Thu, 19 Jan 2006 18:07:06 -0600" Date: Thu, 19 Jan 2006 19:20:17 -0500 Message-ID: <11307.1137716417@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.232 required=5 tests=[AWL=-0.044, MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: 0.232 X-Spam-Level: X-Archive-Number: 200601/191 X-Sequence-Number: 7006 Ben Davis 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