Re: where is postres installed?

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: where is postres installed?
Date: 2024-08-23 05:21:39
Message-ID: CANzqJaAV9_OzUTiK+iDK_2JK=4KKtMwEAKh4h+LyWHQC8Le_dg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 22, 2024 at 8:36 PM Arbol One <ArbolOne(at)hotmail(dot)ca> wrote:

> After installing PostgreSQL on my Debian-12 machine, I typed 'postgres
> --version' and got this msg:
> *bash: postgres: command not found*
>
> 'psql --version', however, does work and gives me this message :
>
> *psql (PostgreSQL) 16.3 (Debian 16.3-1.pgdg120+1)*
>
> Obviously postgres is not in the path, but I don't know where the
> 'apt-get' installed it or why it did not add it to the path.
>
> Is there a way I can locate the installation directory?
>

pg_config | grep BINDIR

--
Death to America, and butter sauce.
Iraq lobster!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kashif Zeeshan 2024-08-23 05:23:43 Re: where is postres installed?
Previous Message Adrian Klaver 2024-08-23 05:10:07 Re: Where is my app installed?