pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedmoving data with pg_dump/pg_restore between database with different locale
2+ messages / 2 participants
[nested] [flat]
* moving data with pg_dump/pg_restore between database with different locale
@ 2023-10-11 11:34 Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
2023-10-11 16:49 ` Re: moving data with pg_dump/pg_restore between database with different locale Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 2+ messages in thread
From: Zwettler Markus (OIZ) @ 2023-10-11 11:34 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
hi,
if you want to retrieve data by means of pg_dump / pg_restore from a database with locale de_CH.UTF8 into a database with locale en_US.UTF8 are there any other things to consider than the behavior implications mentioned in the documentation:
https://www.postgresql.org/docs/current/locale.html#LOCALE-BEHAVIOR
Thanks,
Markus
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: moving data with pg_dump/pg_restore between database with different locale
2023-10-11 11:34 moving data with pg_dump/pg_restore between database with different locale Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
@ 2023-10-11 16:49 ` Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2023-10-11 16:49 UTC (permalink / raw)
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
On Wed, 2023-10-11 at 11:34 +0000, Zwettler Markus (OIZ) wrote:
> if you want to retrieve data by means of pg_dump / pg_restore from a database with
> locale de_CH.UTF8 into a database with locale en_US.UTF8 are there any other things
> to consider than the behavior implications mentioned in the documentation:
The sort order will change, the language of error messages and the log file
will change (unless you set lc_messages differently), some format letters in
to_timestamp(), to_number() and to_char() will change semantics (unless you
set lc_numeric and lc_time differently).
That's about it.
Yours,
Laurenz Albe
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2023-10-11 16:49 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-10-11 11:34 moving data with pg_dump/pg_restore between database with different locale Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
2023-10-11 16:49 ` Laurenz Albe <laurenz.albe@cybertec.at>
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