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

Поиск
Список
Период
Сортировка
От BeginnerC
Тема A simple question: Why 'pg_ctl: command not found...' ?
Дата
Msg-id TYAP286MB063677A6E825062FFE4FF3F1A9099@TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: A simple question: Why 'pg_ctl: command not found...' ?  (Laurenz Albe <laurenz.albe@cybertec.at>)
Re: A simple question: Why 'pg_ctl: command not found...' ?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
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 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!

В списке pgsql-general по дате отправления:

Предыдущее
От: Ron
Дата:
Сообщение: Re: ERROR: extra data after last expected column
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: A simple question: Why 'pg_ctl: command not found...' ?