From: zzia88@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14211: i am enable to upload .xlsx file in my postgres database.
Date: Thu, 23 Jun 2016 16:56:27 +0000
Message-ID: <20160623165627.17239.61644@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14211
Logged by: Zubair Alam
Email address: zzia88@gmail.com
PostgreSQL version: 9.5.3
Operating system: windows7-x64(64 bit)
Description:
copy person(first_name,last_name,dob,email) from 'D:\person\person.xlsx'
with delimiter ',' csv header encoding 'WIN1256';
my client client_encoding is:- UNICODE
i am running this code on my host machine
At the runtime i am getting this error:-ERROR: invalid byte sequence for
encoding "WIN1256": 0x00
CONTEXT: COPY person, line 1
if i am providing csv header encoding :-'UNICODE(UTF8) then i am getting
this error:-ERROR: invalid byte sequence for encoding "UTF8": 0x00
CONTEXT: COPY person, line 1
********** Error **********
ERROR: invalid byte sequence for encoding "UTF8": 0x00
SQL state: 22021
Context: COPY person, line 1
Please solve this problem as soon as possible and test that code then
provide me that code or solution.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: zzia88@gmail.com
Subject: Re: BUG #14211: i am enable to upload .xlsx file in my postgres database.
In-Reply-To: <20160623165627.17239.61644@wrigleys.postgresql.org>
References: <20160623165627.17239.61644@wrigleys.postgresql.org>
* 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