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 D64EE9DCB60 for ; Fri, 20 Jan 2006 09:58:05 -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 75099-03 for ; Fri, 20 Jan 2006 09:58:09 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by postgresql.org (Postfix) with ESMTP id 576CB9DCB13 for ; Fri, 20 Jan 2006 09:58:02 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 14so462921nzn for ; Fri, 20 Jan 2006 05:58:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WbMtRYaTMK+xFBWirG0xvRbh+jq8LwSxcD5uCyOkrIBOu/zWIMrtJkkTyb5Sz3Uos708IyynQnFTkgqmxOml3RcinyvJqnDVZ/jA+ujMW0/ykTHrPKFOjp1PyEP9bxfysW8xPTYEY5Vu70nbEnRLBGZRV7lierk7nUDN4NRiW7c= Received: by 10.64.91.4 with SMTP id o4mr1214281qbb; Fri, 20 Jan 2006 05:58:06 -0800 (PST) Received: by 10.65.222.12 with HTTP; Fri, 20 Jan 2006 05:58:06 -0800 (PST) Message-ID: <67da7c6a0601200558oaa1d848i4f554322473d10b7@mail.gmail.com> Date: Fri, 20 Jan 2006 07:58:06 -0600 From: Ben Davis To: Tom Lane Subject: Re: longchar data type?? Cc: pgsql-odbc@postgresql.org In-Reply-To: <11307.1137716417@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5780_20976110.1137765486232" References: <67da7c6a0601191607v665aebb8s33aa5fdf4777bda8@mail.gmail.com> <11307.1137716417@sss.pgh.pa.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.731 required=5 tests=[AWL=0.454, HTML_MESSAGE=0.001, MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: 0.731 X-Spam-Level: X-Archive-Number: 200601/199 X-Sequence-Number: 7014 ------=_Part_5780_20976110.1137765486232 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Great! I'm all for an easier solution :-) On 1/19/06, Tom Lane wrote: > > 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 > ------=_Part_5780_20976110.1137765486232 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Great!  I'm all for an easier solution :-)


------=_Part_5780_20976110.1137765486232--