Re: A simple question: Why 'pg_ctl: command not found...' ?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: BeginnerC <chuxuec(at)outlook(dot)com>, PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: A simple question: Why 'pg_ctl: command not found...' ?
Date: 2022-03-08 16:03:20
Message-ID: 52709296-1ccc-1e16-7b6c-1989f55f6e49@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/8/22 01:44, BeginnerC wrote:
> Hello everyone,
> When I start to learn the 'pg_ctl',
> the bash echo 'pg_ctl: command not found...' and then print 'Install
> package 'postgresql-server' to provide command 'pg_ctl'? [N/y]'
> I am confused because I had already install the PostgreSQL correctly
> just follow the postgres Document,to prove that,I use the psql to

What exactly did you install and from where?

What document section?

> connect to the postgres and execute some sql statements (Just like
> 'CREATE TABLE', 'SELECT' and 'INSERT'),and these statements executed
> successfully.
> So how to solve this problem? Should I use the dnf to install the
> 'postgresql-server' or just add some path to the environment variable?
> My system is Fedora 35 and the PostgreSQL version is 14.
> Thanks in advance!

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2022-03-08 16:04:57 Re: Serializable read only deferrable- implications
Previous Message Michael Lewis 2022-03-08 13:29:05 Serializable read only deferrable- implications