Re: encoding confusion with \copy command
От | John DeSoi |
---|---|
Тема | Re: encoding confusion with \copy command |
Дата | |
Msg-id | 12479AF9-511E-413D-9575-304F9B8B5B86@pgedit.com обсуждение исходный текст |
Ответ на | Re: encoding confusion with \copy command (Martin Waite <waite.134@gmail.com>) |
Ответы |
Re: encoding confusion with \copy command
Re: encoding confusion with \copy command |
Список | pgsql-general |
On Sep 17, 2014, at 11:52 AM, Martin Waite <waite.134@gmail.com> wrote: > You are right that I need an intermediate step. I will probably use a CSV parser that is liberal in what it accepts, butwrites out strict CSV data suitable for postgres. > If you find such a utility, please share. My clients love Excel, but it takes perfectly valid CSV files and makes them unreadableby Postgres. In particular, Excel saves rows with fewer columns than the header header row if the cells are empty.It also mangles valid UTF-8. I often take Excel CSV files and re-save them from Open Office to fix them for Postgresimport. John DeSoi, Ph.D.
В списке pgsql-general по дате отправления: