Re: Redhat 7 and PgSQL

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Redhat 7 and PgSQL
Дата
Msg-id Pine.LNX.4.21.0009291859330.363-100000@peter
обсуждение исходный текст
Ответ на Re: Redhat 7 and PgSQL  (teg@redhat.com (Trond Eivind Glomsrød))
Список pgsql-general
Trond Eivind Glomsrød writes:

> Incidentally, you can dump data from a database. You can also insert
> data into a database. If you do this before and after upgrading,
> you'll hopefully have the same data in the database.

If there's a problem with pg_dump then pg_dump needs to be fixed, and
incidentally, Philip Warner has been doing just that.

But claiming that you can't upgrade is painting over what might rather be
a deficiency in the RPM mechanism, ISTM.  Why can't you have a spec file
like this:

%preupgrade
pg_dumpall >somewhere

%postupgrade
...
psql -f somewhere


--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


В списке pgsql-general по дате отправления:

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: pg_dump's over 2GB
Следующее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: Redhat 7 and PgSQL