Hi I must copy rows from local database (UNICODE) to remote database SQL_ASCII (not on local machine) with converting selected columns to iso8859_2 or iso_8859_5. Can I make it with COPY?
On Sat, 18 Nov 2006 09:42:14 -0500, Travis Whitton wrote > You can use the postgresql COPY command to dump a single column to a file. Do this for each column you need to convert. From there, use iconv to convert the data. When you're done dumping and converting, use the unix paste command to reassemble the data. If you're not on a unix-based platform, a simple perl script should do the job. ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org