Created
February 22, 2018 20:21
-
-
Save giansalex/f97dc0e688c17b97f22290400bbfdbd6 to your computer and use it in GitHub Desktop.
Change encoding existing Postgresql Database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update pg_database set encoding = pg_char_to_encoding('LATIN1') where datname = 'dbname' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment