On Fri, Aug 23, 2024 at 04:52:07PM -0400, The Wanderer wrote: > On 2024-08-23 at 16:41, to...@tuxteam.de wrote: > > > On Thu, Aug 22, 2024 at 08:38:03PM -0400, Arbol One wrote: > > > >> After installing PostgreSQL on my Debian-12 machine, I typed 'postgres > >> --version' and got this msg: > >> *bash: postgres: command not found* > > > > There is *no* command named postgres in the Postgresql installation. Not > > in the client, not in the server parts. > > Then... what is /usr/lib/postgresql/$VERSION/bin/postgres ?
It's a binary, but I wouldn't call it a "command" in the usual sense (it would live in some of the customary $PATH places, then). IIRC (but I might be wrong) postgres is instantiated to handle a session and should be started by postmaster. I don't think it expects to be called directly. [...] > It's not in $PATH, but I don't think I'd use that as the deciding factor > for whether or not something qualifies as a command. Hm. That's exactly what I just did, Cheers -- t
signature.asc
Description: PGP signature