Skip to content

Commit 394fedf

Browse files
committed
Document method of removing invalid UTF8 escape sequences from dump
file. Backpatch to 8.1.X. Paul Lindner
1 parent af2e8a8 commit 394fedf

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

doc/src/sgml/release.sgml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.403 2005/12/06 18:45:18 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.404 2005/12/06 19:26:43 momjian Exp $
33

44
Typical markup:
55

@@ -525,6 +525,20 @@ psql -t -f fixseq.sql db1 | psql -e db1
525525
<type>boolean</type> rather than an <type>integer</type> (Neil)
526526
</para>
527527
</listitem>
528+
529+
<listitem>
530+
<para>
531+
Some users are having problems loading <literal>UTF8</> data into
532+
8.1.X. This is because previous versions allowed invalid <literal>UTF8</>
533+
sequences to be entered into the database, and this release
534+
properly accepts only valid <literal>UTF8</> sequences. One
535+
way to correct a dumpfile is to use <command>iconv -c -f UTF8 -t UTF8</>.
536+
This will remove invalid character sequences. <command>iconv</>
537+
reads the entire input file into memory so it might be necessary to
538+
<command>split</> the dump into multiple smaller files for processing.
539+
</para>
540+
</listitem>
541+
528542
</itemizedlist>
529543
</sect2>
530544

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy