Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zh2kg-0001xF-1D for pgsql-odbc@arkaria.postgresql.org; Tue, 29 Sep 2015 21:47:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zh2kf-0003O5-Ah for pgsql-odbc@arkaria.postgresql.org; Tue, 29 Sep 2015 21:47:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zh2kf-0003Nz-28 for pgsql-odbc@postgresql.org; Tue, 29 Sep 2015 21:47:57 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zh2kX-0001X5-Lk for pgsql-odbc@postgresql.org; Tue, 29 Sep 2015 21:47:56 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3D39E203E9 for ; Tue, 29 Sep 2015 17:47:48 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 29 Sep 2015 17:47:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=s96BTcXtHbbcM4B0ZHqoD+Z/Xx0=; b=XBOYKi O+azxGA0H/g1H3BVPP2edntEZsgzcX1PAoBMQKzi9JEZOXAinWE6c9muueKyP7Cu KKwKsIBXCfh3V0tVolEpB6+RlsK6kSLNcgPRxMU6DH0JGGkydJjDNuBTQc6o0dE+ AljD4tNanUY/dPf3enW35W+2N7UpXpHB2JPaQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=s96BTcXtHbbcM4B 0ZHqoD+Z/Xx0=; b=I1g9PTsNOxZA7E4rieunnumwiXjP3NeKlTNTnr9QpmfAI5q uSwYZwJmZUrMm/pj9LJcexF2EetZtebfP5hK8jWrpyNHFuD/LYtCu6l9o3GWoosa 57dc6EcidZKA5yUp0IytykrLL/tItHupHyrn1ZOoBm42SzyBbrXR3jGtVxRg= X-Sasl-enc: khEBS+uE83zrI4GoO/yIMEehlyrkk9PRNTt9/0Qck3qP 1443563267 Received: from killi.site (c-24-17-179-185.hsd1.wa.comcast.net [24.17.179.185]) by mail.messagingengine.com (Postfix) with ESMTPA id A8BDA680176; Tue, 29 Sep 2015 17:47:47 -0400 (EDT) Subject: Re: Issue with TPT and Postgresql ODBC Driver To: Aravindh Varadharaju , "pgsql-odbc@postgresql.org" References: <560AFBDF.2050907@aklaver.com> From: Adrian Klaver Message-ID: <560B0706.60303@aklaver.com> Date: Tue, 29 Sep 2015 14:47:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 09/29/2015 02:23 PM, Aravindh Varadharaju wrote: > Hi Adrian > > > My TPT script is used to copy a table from Postgres to Teradata. My > ODBC.INI was not quite right. So I fixed the ODBC.INI but could not get it > work with TPT. What is your ODBC manager? > > This is my ODBC setup: > -- > [ODBC Data Sources] > OPDB=PostgresSQL Connection to OPDB > > > [OPDB] > Driver=/var/odbc/usr/lib64/psqlodbcw.so > Description=PostgresSQL Connection to OPDB > Database= > HostName= > LogonID=opdb_read > MaxPoolSize=100 > MinPoolSize=0 > PortNumber=5432 > -- > > > > > Aravindh Varadharaju | DevOps Engineer > avaradharaju@shutterfly.com |o. 650.610.5173 | m. 812.369.3537 > > > > > > > > > On 9/29/15, 2:00 PM, "Adrian Klaver" wrote: > >> On 09/29/2015 11:23 AM, Aravindh Varadharaju wrote: >>> Hi >>> >>> I am trying to use Postgresql ODBC Unicode Driver to pull data from >>> Postgres Database into Teradata through Teradata Parallel Transporter. >>> When I run the TPT scripts it is throwing an error as shown below: >>> -- >>> ODBC_OPERATOR: TPT17101: Fatal error received from ODBC driver: >>> STATE=S1000, CODE=0, >>> MSG='[DataDirect][ODBC lib] Unicode converter truncated >>> characterą >> >> Looks like you are still using DataDirect. >> >> Can you supply more information on how your ODBC is setup? >> >> Also what the TPT script is doing? >> >>> >>> ‹ >>> The same script is working with Postgresql driver from Progress. >>> >>> Can you give me a hint or point me in the right direction to get this >>> resolved? >>> >>> *Aravindh Varadharaju* | DevOps Engineer >>> >>> _avaradharaju@shutterfly.com_ |o. 650.610.5173 | m. 812.369.3537 >>> >>> >>> >> >> >> -- >> Adrian Klaver >> adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc