Re: Import/Export failure due to UTF-8 error in pgAdmin4 but not in pgAdmin3

From: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>
To: Nanina Tron <nanina(dot)tron(at)icloud(dot)com>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Import/Export failure due to UTF-8 error in pgAdmin4 but not in pgAdmin3
Date: 2019-01-09 13:47:25
Message-ID: CAGA3vBv9riS5mvBnwYwnPxJV4psAY3dVp8Dc1T=rx6YuKZ9FvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Nanina,

If you can do it through the psql prompt, then the problem is most likely
pgAdmin4, otherwise you might want to get in touch with the postgreSQL
devs/support lists.

For example, you can run the COPY command both with and without the HEADERS
option and see if that works.

I hope that helps,

rik.

On Wed, Jan 9, 2019 at 4:59 AM Nanina Tron <nanina(dot)tron(at)icloud(dot)com> wrote:

> Hi,
> thanks for trying. Yes the backup included the invalid data, but we've
> just found the problem.
> The 'special' characters in the data are handled just fine, but not if
> they are present in the column names.
> So does pgAdmin handle both data differently or is it Postgres? I thought
> if the db is encoded UTF8 the this wouldn't be a problem.
> best
> Nanina
>
>
> Am 08. Januar 2019 um 18:16 schrieb Dave Page <dpage(at)pgadmin(dot)org>:
>
> On Tue, Jan 8, 2019 at 8:55 PM Nanina Tron <nanina(dot)tron(at)icloud(dot)com> wrote:
>
>
>
> Hi,
>
>
> yes thank you I will scan the table so at least I will see the 'bad'
> characters. We will see how many there are.
>
> Sorry, i forgot to append the data.
>
>
> Thanks. Did that include the "bad" data? I can load it just fine into
> a SQL_ASCII database (which I'd expect, as there's no encoding
> checks), or a UTF-8 database, and I can successfully export the table
> in both cases.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Murtuza Zabuawala 2019-01-09 17:50:54 Re: "Statistics" tab is very slow
Previous Message Murtuza Zabuawala 2019-01-09 12:42:48 Re: "Statistics" tab is very slow