Re: data migration using EXTENSION tds_fdw - Mailing list pgsql-general

From Adrian Klaver
Subject Re: data migration using EXTENSION tds_fdw
Date
Msg-id d386d963-f068-4139-bfb7-675c1806a45e@aklaver.com
Whole thread Raw
In response to data migration using EXTENSION tds_fdw  (Eyüp Liste <eyup.liste@turk.net>)
Responses Re: data migration using EXTENSION tds_fdw
List 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.liste@turk.net
>
> -----Original Message-----
> From: Adrian Klaver <adrian.klaver@aklaver.com>
> Sent: Monday, January 15, 2024 7:10 PM
> To: Eyüp Liste <eyup.liste@turk.net>; pgsql-general@lists.postgresql.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@turknet.net.tr<mailto:spambildir@turknet.net.tr> adresine
bilgiverebilirsiniz.
 
>
>
> 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.klaver@aklaver.com
>



pgsql-general by date:

Previous
From: Eyüp Liste
Date:
Subject: RE: data migration using EXTENSION tds_fdw
Next
From: Joseph G
Date:
Subject: Re: multiple missing providers from pgdg-common