You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: admin_guide/upgrading_citus.rst
+16-16
Original file line number
Diff line number
Diff line change
@@ -13,21 +13,21 @@ Upgrading the Citus version requires first obtaining the new Citus extension and
13
13
Patch Version Upgrade
14
14
---------------------
15
15
16
-
To upgrade a Citus version to its latest patch, issue a standard upgrade command for your package manager. Assuming version 12.1 is currently installed on Postgres 16:
16
+
To upgrade a Citus version to its latest patch, issue a standard upgrade command for your package manager. Assuming version 13.0 is currently installed on Postgres 16:
@@ -46,23 +46,23 @@ Each major and minor version of Citus is published as a package with a separate
46
46
Step 1. Update Citus Package
47
47
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48
48
49
-
If upgrading both Citus and Postgres, always be sure to upgrade the Citus extension first, and the PostgreSQL version second (see :ref:`upgrading_postgres`). Here is how to do a Citus upgrade from 11.3 to 12.1 on Postgres 15:
49
+
If upgrading both Citus and Postgres, always be sure to upgrade the Citus extension first, and the PostgreSQL version second (see :ref:`upgrading_postgres`). Here is how to do a Citus upgrade from 12.1 to 13.0 on Postgres 16:
50
50
51
51
**Ubuntu or Debian**
52
52
53
53
.. code-block:: bash
54
54
55
55
sudo apt-get update
56
-
sudo apt-get install postgresql-15-citus-12.1
56
+
sudo apt-get install postgresql-16-citus-13.0
57
57
sudo service postgresql restart
58
58
59
-
**Fedora, CentOS, or Red Hat**
59
+
**Red Hat**
60
60
61
61
.. code-block:: bash
62
62
63
63
# Fedora, CentOS, or Red Hat
64
-
sudo yum swap citus113_15 citus121_15
65
-
sudo service postgresql-15 restart
64
+
sudo yum swap citus121_16 citus130_16
65
+
sudo service postgresql-16 restart
66
66
67
67
Step 2. Apply Update in DB
68
68
~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -102,7 +102,7 @@ After installing the new package and restarting the database, run the extension
102
102
103
103
.. _upgrading_postgres:
104
104
105
-
Upgrading PostgreSQL version from 15 to 16
105
+
Upgrading PostgreSQL version from 16 to 17
106
106
##########################################
107
107
108
108
.. note::
@@ -114,17 +114,17 @@ Upgrading PostgreSQL version from 15 to 16
114
114
115
115
Record the following paths before you start (your actual paths may be different than those below):
Copy file name to clipboardexpand all lines: installation/citus_cloud.rst
+3-2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ the cloud on Azure. The Citus managed service is available as
9
9
<https://learn.microsoft.com/azure/cosmos-db/postgresql/introduction/>`_, formerly known as Hyperscale (Citus) in Azure Database for PostgreSQL.
10
10
11
11
To get started with Citus on Azure, you can take advantage of our `quickstart for Azure Cosmos DB for PostgreSQL
12
-
<https://learn.microsoft.com/azure/cosmos-db/postgresql/quickstart-create-portal>`_ in the Azure docs,
13
-
or go straight to the `free trial <https://cosmos.azure.com/try/>`_ on Azure.)
12
+
<https://learn.microsoft.com/azure/cosmos-db/postgresql/quickstart-create-portal>`_ in the Azure docs.
14
13
14
+
Citus is also now in preview on Flexible server. Learn more on `Postgres horizontal scaling with elastic clusters on Azure Database for PostgreSQL Flexible server
Copy file name to clipboardexpand all lines: installation/multi_node_rhel.rst
+8-8
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ Steps to be executed on all nodes
26
26
::
27
27
28
28
# install PostgreSQL with Citus extension
29
-
sudo yum install -y citus121_16
29
+
sudo yum install -y citus130_17
30
30
# initialize system database
31
-
sudo /usr/pgsql-16/bin/postgresql-16-setup initdb
31
+
sudo /usr/pgsql-17/bin/postgresql-17-setup initdb
32
32
# preload citus extension
33
-
echo "shared_preload_libraries = 'citus'" | sudo tee -a /var/lib/pgsql/16/data/postgresql.conf
33
+
echo "shared_preload_libraries = 'citus'" | sudo tee -a /var/lib/pgsql/17/data/postgresql.conf
34
34
35
-
PostgreSQL adds version-specific binaries in `/usr/pgsql-16/bin`, but you'll usually just need psql, whose latest version is added to your path, and managing the server itself can be done with the *service* command.
35
+
PostgreSQL adds version-specific binaries in `/usr/pgsql-17/bin`, but you'll usually just need psql, whose latest version is added to your path, and managing the server itself can be done with the *service* command.
36
36
37
37
.. _post_enterprise_rhel:
38
38
@@ -42,7 +42,7 @@ Before starting the database let's change its access permissions. By default the
42
42
43
43
::
44
44
45
-
sudo vi /var/lib/pgsql/16/data/postgresql.conf
45
+
sudo vi /var/lib/pgsql/17/data/postgresql.conf
46
46
47
47
::
48
48
@@ -51,7 +51,7 @@ Before starting the database let's change its access permissions. By default the
51
51
52
52
::
53
53
54
-
sudo vi /var/lib/pgsql/16/data/pg_hba.conf
54
+
sudo vi /var/lib/pgsql/17/data/pg_hba.conf
55
55
56
56
::
57
57
@@ -71,9 +71,9 @@ Before starting the database let's change its access permissions. By default the
71
71
::
72
72
73
73
# start the db server
74
-
sudo service postgresql-16 restart
74
+
sudo service postgresql-17 restart
75
75
# and make it start automatically when computer does
76
-
sudo chkconfig postgresql-16 on
76
+
sudo chkconfig postgresql-17 on
77
77
78
78
You must add the Citus extension to **every database** you would like to use in a cluster. The following example adds the extension to the default database which is named `postgres`.
0 commit comments