Re: How to set up temporary path for starting up psql in any folder? - Mailing list pgsql-sql

From Steve Midgley
Subject Re: How to set up temporary path for starting up psql in any folder?
Date
Msg-id CAJexoSJhdC_tX=ont99yOAEDdN=6Uqpp=7NkVUttUdJ1CA3Y4w@mail.gmail.com
Whole thread Raw
In response to How to set up temporary path for starting up psql in any folder?  (Shaozhong SHI <shishaozhong@gmail.com>)
List pgsql-sql


On Mon, Oct 4, 2021 at 4:29 AM Shaozhong SHI <shishaozhong@gmail.com> wrote:


How to set up temporary path for starting up psql in any folder?

I do not want to disrupt existing settings of paths.

This isn't really a Pg SQL question so I think you're posting to the wrong group. Doing what you want depends on the OS but it's pretty easy to append to a path without overwriting the user account-defined paths on the current console. Or you can create some kind of system batch file that you can use to load Pg which will add the paths you want and then load psql and then unset the paths afterwards.. You might try superuser for help on setting paths and creating batch files along these lines?

Steve

pgsql-sql by date:

Previous
From: Steve Midgley
Date:
Subject: Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres
Next
From: Shaozhong SHI
Date:
Subject: Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres