PostgreSQL 16

ipaves's Avatar

ipaves

14 May, 2024 07:28 PM

I would like to know if PostgreSQL 16 is available to Windows images using "Visual Studio 2022" ?

If it is not, what is the latest version and how to use it?

Best regards
Thanks

  1. Support Staff 1 Posted by Owen McDonnell on 14 May, 2024 09:45 PM

    Owen McDonnell's Avatar

    Current pre-installed databases can be found here. Latest version on Visual studio 2022 image is 15.2.2. Here is how you could use it in a project.
    If you think we should consider adding 16 to the next image update, you could create an issue here.

  2. 2 Posted by ipaves on 15 May, 2024 12:30 PM

    ipaves's Avatar

    Hi Owen,

    I followed the links and in pre-installed databases I found "PostgreSQL 15.2 x64", but in docs I didn't find how to setup the service the version 15, only for "postgresql13".

    After try to set the services as "postgresql15" I got a connection error.

    Could you help to properly setup "postgresql15"?

  3. 3 Posted by ipaves on 15 May, 2024 05:04 PM

    ipaves's Avatar

    I changed from

    services:
      - postgresql15

    to

    init:
      - ps: Start-Service postgresql-x64-15

    and worked normally.

    Thanks

  4. Support Staff 4 Posted by Owen McDonnell on 15 May, 2024 05:35 PM

    Owen McDonnell's Avatar

    Sorry, I hadn't noticed that the docs are lagging. Start-Service at init stage is the correct approach for now.

  5. ipaves closed this discussion on 22 May, 2024 06:42 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac