pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedChanging locale to 1250
4+ messages / 2 participants
[nested] [flat]
* Changing locale to 1250
@ 2010-08-31 19:26 Łukasz Brodziak <lukasz.brodziak@hotmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Brodziak @ 2010-08-31 19:26 UTC (permalink / raw)
To: pgsql-admin
Hello,
The question is maybe stupid but it's a trouble to me. I would like to perform some tasks on my linux (ubuntu) using db from work unfortunatly the DB has WIN1250 encoding and the PostgreSQL in linux has UTF-8 is it possible to somehow change the server's locale as I may not change the encoding of the DB. Please help.
=
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Changing locale to 1250
@ 2010-08-31 19:37 Kevin Grittner <Kevin.Grittner@wicourts.gov>
parent: Łukasz Brodziak <lukasz.brodziak@hotmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Grittner @ 2010-08-31 19:37 UTC (permalink / raw)
To: *ukasz Brodziak <lukasz.brodziak@hotmail.com>; pgsql-admin
*ukasz Brodziak<lukasz.brodziak@hotmail.com> wrote:
> I would like to perform some tasks on my linux (ubuntu) using db
> from work unfortunatly the DB has WIN1250 encoding and the
> PostgreSQL in linux has UTF-8 is it possible to somehow change the
> server's locale as I may not change the encoding of the DB.
Are you trying to connect to a PostgreSQL server which runs on
Windows using a client on Linux, or are you trying to copy the
database and run your own server on Linux? What database
version(s), exactly?
-Kevin
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Changing locale to 1250
@ 2010-08-31 19:42 Łukasz Brodziak <lukasz.brodziak@hotmail.com>
parent: Kevin Grittner <Kevin.Grittner@wicourts.gov>
0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Brodziak @ 2010-08-31 19:42 UTC (permalink / raw)
To: pgsql-admin
The version in 8.4. I'm trying to copy the database from Windows to Linux. If it is of any importance the version of "Windows Postgres" is 8.2
> Date: Tue, 31 Aug 2010 14:37:19 -0500
> From: Kevin.Grittner@wicourts.gov
> To: lukasz.brodziak@hotmail.com; pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] Changing locale to 1250
> Are you trying to connect to a PostgreSQL server which runs on
> Windows using a client on Linux, or are you trying to copy the
> database and run your own server on Linux? What database
> version(s), exactly?
>
> -Kevin
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
=
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Changing locale to 1250
@ 2010-08-31 20:35 Kevin Grittner <Kevin.Grittner@wicourts.gov>
parent: Łukasz Brodziak <lukasz.brodziak@hotmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Grittner @ 2010-08-31 20:35 UTC (permalink / raw)
To: *ukasz Brodziak <lukasz.brodziak@hotmail.com>; pgsql-admin
*ukasz Brodziak<lukasz.brodziak@hotmail.com> wrote:
> The version in 8.4. I'm trying to copy the database from Windows
> to Linux. If it is of any importance the version of "Windows
> Postgres" is 8.2
Use pg_dump from your 8.4 machine. I would use the --encoding
switch when I ran pg_dump to get UTF-8 encoding in the dump file.
Make sure you initialize your new database with a character set
which supports all the characters from the old database.
-Kevin
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2010-08-31 20:35 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-08-31 19:26 Changing locale to 1250 Łukasz Brodziak <lukasz.brodziak@hotmail.com>
2010-08-31 19:37 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2010-08-31 19:42 ` Łukasz Brodziak <lukasz.brodziak@hotmail.com>
2010-08-31 20:35 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox