Re: COPY-ing ASCII file into UTF-8 database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Toomas Vendelin wrote:

MY QUESTIONS:

1. What is the proper solution for importing data from plain ASCII files, that contain the type of characters mentioned above?

Set the correct client_encoding, before importing. Presumably the Estonian characters are part of one of the flavours of LATIN 1-9

> SET CLIENT_ENCODING='LATIN<X>'; -- Where you substitute <X> for the correct number
> \copy ....

--
Tommy Gildseth

--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux