471,854 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,854 software developers and data experts.

stupid misstake with DB encoding


I have VPS. I asked to VPS controllers change my VPS locale, but they do:

update pg_database set encoding = pg_char_to_encoding('en_GB.UTF-8');

As I know pg_char_to_encoding('en_GB.UTF-8')= -1 :(

Therefore my DB is damaged...

if I use psql;

FATAL: invalid database encoding

If there any method how I can fix it???
Sep 25 '07 #1
0 2327

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

38 posts views Thread by Shaun McKinnon | last post: by
10 posts views Thread by Christopher H. Laco | last post: by
reply views Thread by Ayende Rahien | last post: by
8 posts views Thread by Demon News | last post: by
2 posts views Thread by Lampa Dario | last post: by
4 posts views Thread by fitsch | last post: by
reply views Thread by Chris McDonough | last post: by
4 posts views Thread by Christina | last post: by
3 posts views Thread by mortb | last post: by
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.