[Tutorial] How to add another PostgreSQL version (PostgreSQL 12.1)


  • administrators
    | 115988 points

    Adding another PostgreSQL version is very easy with Laragon.
    Assume we want to use PostgreSQL 12.1 64-bit (or other versions)

    1. Download PostgreSQL 12.1 (64-bit):
      http://get.enterprisedb.com/postgresql/postgresql-12.1-1-windows-x64-binaries.zip

    1. Extract the downloaded to (*): bin\postgresql\postgresql-12.1
    C:\laragon
    -- bin
       -- postgresql
          -- postgresql-12.1
              -- bin
              -- doc
              -- include
              -- lib
              -- pgAdmin 4
              .....
    
    

    1. Close Laragon, then open it again (to refresh the Menu). Select the new version at: Laragon Menu > PostgreSQL> Version > postgresql-12.1

    Very easy huh. That's all forks!

    *Note: after extracting, you rename the pgsql dir to postgresql-12.1.


  • administrators
    | 115988 points

    Some pics:

    1. Folder structure:
      0_1575117327574_upload-064ce125-9ca0-40ee-b745-012c2a35a426
    1. Menu:
      0_1575117397090_upload-171a458d-cc19-433f-9d6f-a7c1343619ed !

    2. Connect (using Terminal):
      0_1575117541670_upload-0b340c1b-5b47-4b9d-99ce-66101f54d480


  • | 2625 points

    As always, outstanding :rocket:


  • | 833 points

    @leokhoa @Fuad-Fadhil-Azzar @rizaldywirawan

    just adding postgresql-10.5.2 to laragon and found the same error, the webserver for pgadmin4 won't start even when opening directly from pgAdmin 4\bin\pgAdmin4.exe

    trying to change to pgAdmin3 with no luck because of too many warnings of incompatibility, then it just crossed my mind, "Aha maybe it's just because of that administrative privilige, so try to run pgAdmin 4\bin\pgAdmin4.exe as administrator and it works (the browser pops out with address set to "http://127.0.0.1:51237/browser/" so because this is my first time using postgresql I consider it works)


  • administrators
    | 115988 points

    Testing:

    1. Check version: open Terminal (Ctrl - Alt - T), and type
    psql --version
    
    1. Create database "test":
    createdb test
    
    1. Connect to database "test":
    psql test
    

    You can use pgAdmin 4 in Menu > PostgreSQL > pgAdmin 4 to operate PostgreSQL efficiently.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.