How to update the PostgreSQL version shipped with MATLAB?

I want to use a newer PostgreSQL version than the one shipped with my current release of MATLAB. 
How can I update PostgreSQL files/binaries included with my MATLAB installation?

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 17 Avr 2026 à 0:00
To update the PostgreSQL version shipped with MATLAB, manually replace the PostgreSQL files/binaries under the MATLAB installation with updated PostgreSQL binaries.
Follow the steps below:
  1. Back up the shipped PostgreSQL folder
    • Back up the contents of the shipped PostgreSQL directory so you can revert if needed. For example, on installations where PostgreSQL is located under the following folder, back up that entire folder: <MATLABROOT>/sys/postgresql/glnxa64/PostgreSQL
  2. Replace the shipped binaries
    • Download PostgreSQL binaries for your preferred PostgreSQL version and operating system from the PostgreSQL downloads page.
    • Replace all files in the PostgreSQL folder with the updated copies, including the "libpq" driver. For example: <MATLABROOT>/sys/postgresql/glnxa64/PostgreSQL
  3. Verify the installation

Plus de réponses (0)

Produits

Version

R2025b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by