Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 725128289398ba4bce60a4093d9d69bbcea01d92 1 parent 89544b2
John Paulett authored October 03, 2012 claudep committed October 04, 2012

Showing 1 changed file with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. 15  docs/ref/contrib/gis/install.txt
15  docs/ref/contrib/gis/install.txt
@@ -757,6 +757,21 @@ Similarly, on Red Hat and CentOS systems::
757 757
 
758 758
     $ sudo yum install binutils
759 759
 
  760
+PostgreSQL's createdb fails
  761
+---------------------------
  762
+
  763
+When the PostgreSQL cluster uses a non-UTF8 encoding, the
  764
+:file:`create_template_postgis-*.sh` script will fail when executing
  765
+``createdb``::
  766
+
  767
+    createdb: database creation failed: ERROR:  new encoding (UTF8) is incompatible
  768
+      with the encoding of the template database (SQL_ASCII)
  769
+
  770
+The `current workaround`__ is to re-create the cluster using UTF8 (back up any
  771
+databases before dropping the cluster).
  772
+
  773
+__ http://jacobian.org/writing/pg-encoding-ubuntu/
  774
+
760 775
 Platform-specific instructions
761 776
 ==============================
762 777
 

0 notes on commit 7251282

Please sign in to comment.
Something went wrong with that request. Please try again.