Re: PATH for your scripts/SQL for psql

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Edwin UY <edwin(dot)uy(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: PATH for your scripts/SQL for psql
Date: 2025-05-20 11:18:41
Message-ID: aCxlEUtuNFi3MlNt@depesz.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message zaidagilist 2025-05-20 12:15:56 Re: PostgreSQL Load Testing
Previous Message Laurenz Albe 2025-05-20 06:15:05 Re: PATH for your scripts/SQL for psql