Re: System (and DB) upgrade problem., "part 2"

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: System (and DB) upgrade problem., "part 2"
Дата
Msg-id 20210118113621.GA5132@hjp.at
обсуждение исходный текст
Ответ на Re: System (and DB) upgrade problem., "part 2"  ("W.P." <laurentp@wp.pl>)
Список pgsql-general
On 2021-01-18 05:33:05 +0100, W.P. wrote:
> Now I have problem with 9.6 -> 10.7 (Fedora 27 -> 28) upgrade.
> As expected after system upgrade, database fails to start "files
> incompatible with binaries".
>
> Found pg_upgrade, command line options "-b /usr/lib/pgsql/postgresql-9.6/bin
> -B /usr/bin -d /var/lib/pgsql/data/" BUT what should I put for option -D?
> ("new cluster data") Was (directory) already created for me (during system
> upgrade), or have I to create it somewhere (where? is best practice).

The Debian/Ubuntu package contains a script pg_upgradecluster which
knows about the distribution-specific directory layout. You would
normally use that script instead pg_upgrade directly.

Maybe the Fedora package has something similar?

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

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

Предыдущее
От: Tim Clarke
Дата:
Сообщение: Re: Is it possible to compare a long text string and fuzzy match only phrases contained in?
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: Do we need a way to moderate mailing lists?