bitrix-postgresql
Installation
SKILL.md
PostgreSQL
Baseline: main 23.900.900+ (first PostgreSQL-capable main) · Verified: main 26.800.0, perfmon 25.300.0
Licensed as Bitrix24 / CMS "Enterprise for Postgres". Connection class \Bitrix\Main\DB\PgsqlConnection; the rest of connections is as in bitrix-database.
Before migrating
- Current license must cover the test period (up to 6 months) and the switch. The Postgres license gives a coupon (activate after testing) and a key for a separate test copy; production stays on MySQL meanwhile.
perfmon24.0.0+, site in UTF-8, the latest updates on the test copy.- Rehearse on a copy of production; going back to MySQL afterwards is manual work.
- Close the site during the final copy.
Wizard perfmon.pgsql (Settings → Wizards)
- Step 0 lists installed modules that ship
install/mysql(orinstall/db/mysql) without thepgsqltwin and blocks until you uninstall them. With the dev flag filebitrix/modules/perfmon/devit only warns and removes them fromb_modulein the target DB after copying (their tables stay). - It checks
/bitrix/modules/*only./local/modulesand modules without SQL install files (install/migrations) are never checked: audit them yourself. - It asks for an extra
default_pgsqlconnection in.settings.php, copies the tables, then you switchdefault. - Manual (CLI) migration: find unsupported modules with