Re: data migration using EXTENSION tds_fdw

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Eyüp Liste <eyup(dot)liste(at)turk(dot)net>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: data migration using EXTENSION tds_fdw
Date: 2024-01-15 19:17:23
Message-ID: d386d963-f068-4139-bfb7-675c1806a45e@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 1/15/24 11:03 AM, Eyüp Liste wrote:
> Hello,
>
> 1)TURKISH_CI_AS at sql server database
>
> 2)Encoding : UTF8 Collate: en_US.UTF-8 at Postgresql

I don't use tds_fdw, so the best I can do is point you at information

Hopefully someone with practical experience will chime in with more
specific information.

The information I could find is:

https://www.freetds.org/userguide/configs.html#Localization

>
> Thank u for fast response
>
> Best Regards
>
> Eyup Liste
> Senior Database Administrator
> ___________________________________________________________
>
> TurkNet Iletisim
>
>
>
>
>
>
>
> M: +905452120762
> E: eyup(dot)liste(at)turk(dot)net
>
> -----Original Message-----
> From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
> Sent: Monday, January 15, 2024 7:10 PM
> To: Eyüp Liste <eyup(dot)liste(at)turk(dot)net>; pgsql-general(at)lists(dot)postgresql(dot)org
> Subject: Re: data migration using EXTENSION tds_fdw
>
>
> [UYARI] Bu ileti TurkNet dışından gönderildi. Lütfen gönderen adresleri kontrol edin ve ekleri açmadan önce dikkatli olun.
> Spam/phishing olduğunu düşündüğünüz mailler için spambildir(at)turknet(dot)net(dot)tr<mailto:spambildir(at)turknet(dot)net(dot)tr> adresine bilgi verebilirsiniz.
>
>
> On 1/14/24 10:55, Eyüp Liste wrote:
>> Hello,
>>
>> I have worked on migrate a table from sql server 2017 to postgresql 15 .
>> İ have completed all steps. But when i try to migrate some columns , i
>> got error;
>>
>> NOTICE: tds_fdw: Query executed correctly NOTICE: tds_fdw: Getting
>> results ERROR: DB-Library error: DB #: 2403, DB Msg: Some character(s)
>> could not be converted into client's character set. Unconverted bytes
>> were changed to question marks ('?'), OS #: 0, OS Msg: Success, Level:
>> 4 SQL state: HV00L
> This "Some character(s) could not be converted into client's character set." would seem to be the issue.
>
> Therefore what is the character set used in the?:
>
> 1) The SQL Server database.
>
> 2) The Postgres database
>
>> Please help me about this issue.
>>
>> Best regards
>>
>> *turknet-logo* <https://turk.net/>**
>>
>>
>>
>> *Eyüp Liste*
>> Technology
>> System And Infrastructure
>>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph G 2024-01-15 19:22:27 Re: multiple missing providers from pgdg-common
Previous Message Eyüp Liste 2024-01-15 19:03:47 RE: data migration using EXTENSION tds_fdw