Diagnostic step 1
Do not edit or delete database files. Collect evidence: copy core file and run gdb on a staging replica to produce a backtrace; capture 'ldd $(pg_config --pkglibdir)/plperl.so' to see linked libperl path.
Generated Oct 13, 2026, 9:45:52 AM
Do not edit or delete database files. Collect evidence: copy core file and run gdb on a staging replica to produce a backtrace; capture 'ldd $(pg_config --pkglibdir)/plperl.so' to see linked libperl path.
Build and test a plperl.so on an isolated staging node against the current system Perl and run the failing functions there. If successful, plan a production rebuild and package the module as an RPM for consistent rollout.
If rebuilding in-place is not possible immediately, create safe bypass by migrating critical plperl procedures to SQL/PLpgSQL or an external microservice to reduce immediate crash surface.
Avoid downgrading system Perl on production unless you can verify no other packages depend on the newer Perl; prefer rebuilding plperl or using vendor-provided PostgreSQL package compiled for the current Perl.
If the vendor PostgreSQL RPMs are available for the new Perl, consider upgrading PostgreSQL packages atomically during maintenance window. Escalate to OS or database vendor support if packaging constraints prevent rebuilding safely.