Re: PATH for your scripts/SQL for psql - Mailing list pgsql-admin

From hubert depesz lubaczewski
Subject Re: PATH for your scripts/SQL for psql
Date
Msg-id aCxlEUtuNFi3MlNt@depesz.com
Whole thread Raw
In response to PATH for your scripts/SQL for psql  (Edwin UY <edwin.uy@gmail.com>)
List pgsql-admin
On Tue, May 20, 2025 at 10:49:33AM +1200, Edwin UY wrote:
> Hi,
> 
> Is there any settings that you can set for the PATH of your SQL/scripts so
> you don't have to cd where they are or specify the full path?
> Kinda like the *nix PATH settings where you can PATH to it and you just run
> your command/scripts
> FYI, I am NOT using psql on the database server.

No such thing exists, but please check if `\ir` isn't solving your
problem.

Best regards,

depesz




pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: PATH for your scripts/SQL for psql
Next
From: zaidagilist
Date:
Subject: Re: PostgreSQL Load Testing