Fixes #10441: control_plane README incorrect neon init args (#12646)

## Problem

As reported in #10441 the `control_plane/README/md` incorrectly
specified that `--pg-version` should be specified in the `cargo neon
init` command. This is not the case and causes an invalid argument
error.

## Summary of changes

Fix the README

## Test Plan

I verified that the steps in the README now work locally. I connected to
the started postgres endpoint and executed some basic metadata queries.
This commit is contained in:
Paul Banks
2025-07-18 18:09:20 +01:00
committed by GitHub
parent 96bcfba79e
commit 791b5d736b

View File

@@ -8,10 +8,10 @@ code changes locally, but not suitable for running production systems.
## Example: Start with Postgres 16 ## Example: Start with Postgres 16
To create and start a local development environment with Postgres 16, you will need to provide `--pg-version` flag to 3 of the start-up commands. To create and start a local development environment with Postgres 16, you will need to provide `--pg-version` flag to 2 of the start-up commands.
```shell ```shell
cargo neon init --pg-version 16 cargo neon init
cargo neon start cargo neon start
cargo neon tenant create --set-default --pg-version 16 cargo neon tenant create --set-default --pg-version 16
cargo neon endpoint create main --pg-version 16 cargo neon endpoint create main --pg-version 16