Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #17207 -- Added a troubleshooting note about failing createdb

  • Loading branch information...
commit 725128289398ba4bce60a4093d9d69bbcea01d92 1 parent 89544b2
@johnpaulett johnpaulett authored claudep committed
Showing with 15 additions and 0 deletions.
  1. +15 −0 docs/ref/contrib/gis/install.txt
View
15 docs/ref/contrib/gis/install.txt
@@ -757,6 +757,21 @@ Similarly, on Red Hat and CentOS systems::
$ sudo yum install binutils
+PostgreSQL's createdb fails
+---------------------------
+
+When the PostgreSQL cluster uses a non-UTF8 encoding, the
+:file:`create_template_postgis-*.sh` script will fail when executing
+``createdb``::
+
+ createdb: database creation failed: ERROR: new encoding (UTF8) is incompatible
+ with the encoding of the template database (SQL_ASCII)
+
+The `current workaround`__ is to re-create the cluster using UTF8 (back up any
+databases before dropping the cluster).
+
+__ http://jacobian.org/writing/pg-encoding-ubuntu/
+
Platform-specific instructions
==============================
Please sign in to comment.
Something went wrong with that request. Please try again.