Start-Service : Cannot find any service with service name postgresql-x64-13

mloskot's Avatar

mloskot

04 May, 2022 10:36 AM

The documentation says the PostgreSQL 13.4 x64 is available on Visual Studio 2017 images, but when I put this into my .appveyor.yml

services:
  - postgresql13

I'm observing this failure

Start-Service : Cannot find any service with service name 'postgresql-x64-13'.
At line:1 char:1
+ Start-Service 'postgresql-x64-13'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (postgresql-x64-13:String) [Start-Service], ServiceCommandException
    + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.StartServiceCommand

Am I missing anything or the documentation is not up to date?

  1. Support Staff 1 Posted by Feodor Fitsner on 04 May, 2022 03:08 PM

    Feodor Fitsner's Avatar

    Yep, the most recent version available on VS 2017 is 12.x. I've fixed the docs.

  2. 2 Posted by mloskot on 04 May, 2022 05:39 PM

    mloskot's Avatar

    The PostgreSQL 12 works for me. Thank you Fedor.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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