From: | Francisco Olarte <folarte(at)peoplecall(dot)com> |
---|---|
To: | Shaozhong SHI <shishaozhong(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(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 11:24:43 |
Message-ID: | CA+bJJbxsK9_5j5NZMn+RRpZNJNYC_e9EdBccrtGM9mzJVCOBPw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
On Mon, 4 Oct 2021 at 12:40, 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.
You will need to provide a lot more details ( like your OS, and wheter
you just want to open the "psql" binary or modify the paths for other
things ).
In simple OSs like mine, plain Debian Linux, you can start psql in the
folder $FOLDER by just doing "$FOLDER/psql". To launch it using
temporary override of PATH you will need to do "PATH=$FOLDER:$PATH
psql".
But anyway, this is a shell-101 question, not much to do with
postgres, you'll have to ask someone who knows your
os/shell/whatever.
Francisco Olarte.
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2021-10-04 11:42:15 | Re: create a new GIN index for my own type |
Previous Message | Shaozhong SHI | 2021-10-04 11:18:40 | How to set up temporary path for starting up psql in any folder? |
From | Date | Subject | |
---|---|---|---|
Next Message | Shaozhong SHI | 2021-10-04 15:43:42 | Testing of a fast method to bulk insert a Pandas DataFrame into Postgres |
Previous Message | Shaozhong SHI | 2021-10-04 11:18:40 | How to set up temporary path for starting up psql in any folder? |