From: Jim Nasby <jim.nasby@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: Eyüp Liste <eyup.liste@turk.net>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: data migration using EXTENSION tds_fdw
Date: Tue, 16 Jan 2024 13:59:49 -0600
Message-ID: <617c1d7e-8b4e-4765-82a8-2e69acfd42c3@gmail.com> (raw)
In-Reply-To: <d386d963-f068-4139-bfb7-675c1806a45e@aklaver.com>
References: <ea6af568e4aa4b3c955ac7b9522adaba@turk.net>
<e951bafa-6883-4822-82b0-70941f003e8f@aklaver.com>
<e2a8d7845d854c0eae995137ade2e71d@turk.net>
<d386d963-f068-4139-bfb7-675c1806a45e@aklaver.com>
On 1/15/24 1:17 PM, Adrian Klaver wrote:
>
> 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
One other UTF8 "gotcha" in Postgres that may or may not be relevant
here: UTF8 considers the value 0 (as in a 0 byte; not the glyph "0") to
be a legit character, but for various reasons Postgres can't actually
support that, so trying to insert into a text/varchar/char field in PG
will give you an error (not sure what exact error you'd get though).
--
Jim Nasby, Data Architect, Austin TX
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-general@postgresql.org
Cc: jim.nasby@gmail.com, adrian.klaver@aklaver.com, eyup.liste@turk.net
Subject: Re: data migration using EXTENSION tds_fdw
In-Reply-To: <617c1d7e-8b4e-4765-82a8-2e69acfd42c3@gmail.com>
References: <ea6af568e4aa4b3c955ac7b9522adaba@turk.net> <e951bafa-6883-4822-82b0-70941f003e8f@aklaver.com> <e2a8d7845d854c0eae995137ade2e71d@turk.net> <d386d963-f068-4139-bfb7-675c1806a45e@aklaver.com> <617c1d7e-8b4e-4765-82a8-2e69acfd42c3@gmail.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