Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Check that postgres database has correct charset set #135

Merged
merged 5 commits into from
Apr 29, 2015

Conversation

erikjohnston
Copy link
Member

No description provided.

rows = txn.fetchall()
if rows and rows[0][0] != "UTF8":
raise IncorrectDatabaseSetup(
"Database has incorrect encoding: '%s' instead of 'UTF8'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be nice to elaborate more on how to fix the error here

@NegativeMjark
Copy link
Contributor

LGTM

NegativeMjark added a commit that referenced this pull request Apr 29, 2015
Check that postgres database has correct charset set
@NegativeMjark NegativeMjark merged commit 19167fd into develop Apr 29, 2015
@erikjohnston erikjohnston deleted the erikj/postgres_charset_check branch July 21, 2015 08:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants