On 2024-08-23 at 17:03, to...@tuxteam.de wrote:

> On Fri, Aug 23, 2024 at 04:52:07PM -0400, The Wanderer wrote:
> 
>> On 2024-08-23 at 16:41, to...@tuxteam.de wrote:

>>> 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).

>> 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,

That would be the difference between us on the subject, then. I was
surprised by the statement, because of that difference in definitions.

> 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 probably won't be called directly, indeed, unless you're specifically
launching the server manually for some reason (e.g. testing-related).

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to