Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
public:postgresql_upgrade_on_freebsd [2023/09/25 16:51] – [Migrate data] jailhouse build Nico | public:postgresql_upgrade_on_freebsd [2025/09/29 13:54] (current) – [A note about locales] deprecated locale issue Nico | ||
---|---|---|---|
Line 2: | Line 2: | ||
For minimal downtime during migration, we will use `pg_upgrade` tool, which needs both old and new PostgreSQL binaries available. To do so, we will use FreeBSD' | For minimal downtime during migration, we will use `pg_upgrade` tool, which needs both old and new PostgreSQL binaries available. To do so, we will use FreeBSD' | ||
- | |||
## A note about locales | ## A note about locales | ||
- | You might encounter weird locales | + | You might encounter weird locale |
```bash | ```bash | ||
Line 11: | Line 10: | ||
``` | ``` | ||
- | The only workaround I found was to disable | + | This seems to be caused by a [remaining deprecated |
- | ```diff | + | ```bash |
- | --- / | + | sudo rm -rf /usr/share/locale/sr_YU.ISO8859-5 |
- | +++ / | + | sudo rm -rf /basejail/usr/share/locale/sr_YU.ISO8859-5 |
- | @@ -1727,8 +1727,8 @@ | + | |
- | freelocale(loc); | + | |
- | } | + | |
- | else | + | |
- | - // | + | |
- | - // | + | |
- | + | + | |
- | + | + | |
- | #elif defined(WIN32) && _WIN32_WINNT >= 0x0600 | + | |
- | | + | |
- | * If we are targeting Windows Vista and above, we can ask for a name | + | |
``` | ``` | ||
- | |||
- | You can apply this patch while compiling new version' | ||
## Compile old and new version from ports | ## Compile old and new version from ports |