PATH for your scripts/SQL for psql

From: Edwin UY <edwin(dot)uy(at)gmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: PATH for your scripts/SQL for psql
Date: 2025-05-19 22:49:33
Message-ID: CA+wokJ9EpO0FXxpVTcgsuuL0SehdFwEdJz3ZBKJKbMJtskhfuA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

Thanks.

Regards,
Ed

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2025-05-20 01:35:36 Re: PATH for your scripts/SQL for psql
Previous Message Scott Ribe 2025-05-19 12:34:09 Re: pg_stat_statements, write activity