From: | Dorian Machado <dorian599(at)gmail(dot)com> |
---|---|
To: | koff10 <koff10(at)hotmail(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: interactif pg environnement script |
Date: | 2015-11-08 22:09:11 |
Message-ID: | CAFLCYipO-2ypNu=1rR5b5_J4ULp1P4RH2woTJtrTVDw9uPon-Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hello Koff10
Onece I have been in this situation and what I did was create 2 users
postgres: postgres93 and postgres94. Ich user whit diferent enviroment
variables in the ".bashrc" and it's work great.
On Nov 6, 2015 5:57 PM, "koff10" <koff10(at)hotmail(dot)com> wrote:
> Hi all,
> I have 2 postgres environment 9.3 and 9.4 on the same machine.
> I try to write a little interactif script to choose 9.3 or 9.4. when
> connecting as postgres user.
> That is to say: if choosing 9.3 it launchs '9-3pg_eng.sh' and if
> choosing 9.4 it launch '9-4pg_env.sh'.
> I already have both 2 scripts ' 9-3pg_eng.sh' and '9-4pg_env.sh' which
> run fine.
> thanks lot
>
> koff
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>
From | Date | Subject | |
---|---|---|---|
Next Message | Marc Fromm | 2015-11-09 22:16:58 | convert system from not using a password to using passwords |
Previous Message | koff10 | 2015-11-06 22:27:16 | interactif pg environnement script |