Re: Two Versions of PostgreSQL Installed - How to uninstall one particular version
В списке pgsql-general по дате отправления:
| От | John R Pierce |
|---|---|
| Тема | Re: Two Versions of PostgreSQL Installed - How to uninstall one particular version |
| Дата | |
| Msg-id | 4B8794A9.2040508@hogranch.com обсуждение исходный текст |
| Ответ на | Re: Two Versions of PostgreSQL Installed - How to uninstall one particular version ("Albe Laurenz" <laurenz.albe@wien.gv.at>) |
| Список | pgsql-general |
Albe Laurenz wrote:
> If you care about the data in the 7.3 data directory, you will
> have to migrate it: start a 7.3 server, export with 8.3's
> pg_dumpall, run 8.3's initdb, import the dump.
>
and thats not that easy with Redhat/Centos/Fedora/etc RPM installs, as
installing 8.x from RPM sources wiped out the 7.3 binaries
assuming you installed the PGDG rpms over the RH stock 7.3 RPMs, and you
don't particluarlly care for any 7.3 databases, you could try this...
# service stop postgresql -- (make sure everything is
stopped)
# mv /var/lib/pgsql/data /var/lib/pgsql/data-73
# service postgresql initdb
# service postgresql start
this will put aside the 7.3 postgres data for later consideration, and
create a new database cluster with the version you installed.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера