So right now due to ERP system that I use in company I have heavily modified version 11 of Postgresql. Now I need to have a clean version of Postgresql installed? Is that somehow possible to install Postgresql twice?
Asked
Active
Viewed 366 times
1
-
I suggest you to use docker images to do so and keep several isolated versions of your tools. – godo57 Mar 22 '22 at 10:49
-
@mcanzerini I have it created on docker. Now is a thing how to connect to this database using for example PgAdmin? – Patryk Mar 22 '22 at 13:18
-
I'm sure you'll find a response here : https://stackoverflow.com/questions/25540711/docker-postgres-pgadmin-local-connection – godo57 Mar 22 '22 at 14:18
2 Answers
2
you can install the new version in another directory and start new postgresql in another port 5432 (example: 5433)

Viettel Solutions
- 1,519
- 11
- 22
0
Yes, it is possible (see this answer also), but settings will slightly be different depending on OS that you use. Postgres uses by default port 5432 but you can change this, so even if you need both of versions to run at the same time it is not a problem. You just need to set a correct port. So simply put you can do that but need to change config file of one of the versions.

DiN
- 23
- 6