From 424dc60d8e28608f214cdc97f028e698cb572400 Mon Sep 17 00:00:00 2001 From: Slawek Figiel Date: Thu, 23 May 2024 10:21:07 +0200 Subject: [PATCH] [#2773] Move a paragraph --- doc/sphinx/arm/admin.rst | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/doc/sphinx/arm/admin.rst b/doc/sphinx/arm/admin.rst index 09f2c37d8f..7acb070e22 100644 --- a/doc/sphinx/arm/admin.rst +++ b/doc/sphinx/arm/admin.rst @@ -582,16 +582,10 @@ that contains any existing tables. To start from scratch, all data must be removed manually. (This process is a manual operation on purpose, to avoid accidentally irretrievable mistakes by :iscman:`kea-admin`.) -.. _pgsql-upgrade: +Upgrading a PostgreSQL Engine From an Earlier Version +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Upgrading a PostgreSQL Database From an Earlier Version of Kea -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The PostgreSQL database schema can be upgraded using the same tool and -commands as described in :ref:`mysql-upgrade`, with the exception that the "pgsql" -database backend type must be used in the commands. - -If you upgraded your Postgres database from a version prior to 15.0, you need to +If you upgraded your PostgreSQL from a version prior to 15.0, you need to grant additional privileges to the user: First, log into PostgreSQL as "postgres": @@ -618,6 +612,15 @@ Now, quit the PostgreSQL client: Bye $ +.. _pgsql-upgrade: + +Upgrading a PostgreSQL Database From an Earlier Version of Kea +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The PostgreSQL database schema can be upgraded using the same tool and +commands as described in :ref:`mysql-upgrade`, with the exception that the "pgsql" +database backend type must be used in the commands. + Use the following command to check the current schema version: .. code-block:: console -- 2.47.2