From: Aravindh Varadharaju <avaradharaju@shutterfly.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Issue with TPT and Postgresql ODBC Driver
Date: Tue, 29 Sep 2015 21:23:07 +0000
Message-ID: <D2304D24.56CD%avaradharaju@shutterfly.com> (raw)
In-Reply-To: <560AFBDF.2050907@aklaver.com>
References: <D2302532.5696%avaradharaju@shutterfly.com>
<560AFBDF.2050907@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
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.
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=<Database Name>
HostName=<Host Name>
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" <adrian.klaver@aklaver.com> 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
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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: avaradharaju@shutterfly.com, adrian.klaver@aklaver.com
Subject: Re: Issue with TPT and Postgresql ODBC Driver
In-Reply-To: <D2304D24.56CD%avaradharaju@shutterfly.com>
References: <D2302532.5696%avaradharaju@shutterfly.com> <560AFBDF.2050907@aklaver.com> <D2304D24.56CD%avaradharaju@shutterfly.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