From: | Steve Midgley <science(at)misuse(dot)org> |
---|---|
To: | Shaozhong SHI <shishaozhong(at)gmail(dot)com> |
Cc: | pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org> |
Subject: | Re: How to set up temporary path for starting up psql in any folder? |
Date: | 2021-10-04 17:34:24 |
Message-ID: | CAJexoSJhdC_tX=ont99yOAEDdN=6Uqpp=7NkVUttUdJ1CA3Y4w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
On Mon, Oct 4, 2021 at 4:29 AM Shaozhong SHI <shishaozhong(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Israel Brewster | 2021-10-04 17:36:32 | Re: Growth planning |
Previous Message | Adrian Klaver | 2021-10-04 17:30:22 | Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres |
From | Date | Subject | |
---|---|---|---|
Next Message | Shaozhong SHI | 2021-10-04 20:13:25 | Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres |
Previous Message | Adrian Klaver | 2021-10-04 17:30:22 | Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres |