Re: Bash profile

2025-02-15 Thread Adrian Klaver
On 2/15/25 11:17, Yongye Serkfem wrote: I am upgrading from version 12.7 to 15.7 You are going to have to explain what, in your situation, BASH has to do with the upgrade process. Generally migrations depend on Postgres programs and are not shell specific. On Sat, Feb 15, 2025, 2:15 PM R

Re: Bash profile

2025-02-15 Thread Ron Johnson
So? Honestly, your question has zero to do with Postgresql. Its basic Linux configuration. Before the migration, PGDATA and PATH should point to the v12 "stuff", and after the migration they should point to the v15 "stuff". It's that simple. On Sat, Feb 15, 2025 at 2:17 PM Yongye Serkfem wrot

Re: Bash profile

2025-02-15 Thread Yongye Serkfem
I am upgrading from version 12.7 to 15.7 On Sat, Feb 15, 2025, 2:15 PM Ron Johnson wrote: > On Sat, Feb 15, 2025 at 2:01 PM Yongye Serkfem wrote: > >> Hi Everyone! >> I would appreciate any assistance with configuring the bash profile to >> run two different postgresql versions. Specifically V1

Re: Bash profile

2025-02-15 Thread Ron Johnson
On Sat, Feb 15, 2025 at 2:01 PM Yongye Serkfem wrote: > Hi Everyone! > I would appreciate any assistance with configuring the bash profile to run > two different postgresql versions. Specifically V12.7 and 15.7 > Create a bash function that exports PGDATA to the relevant directory, based on the

Re: Bash profile

2025-02-15 Thread David G. Johnston
On Sat, Feb 15, 2025 at 12:01 PM Yongye Serkfem wrote: > > I would appreciate any assistance with configuring the bash profile to run > two different postgresql versions. Specifically V12.7 and 15.7 > > Can you provide more detail on what you are trying to do, and why? Your request doesn't make