Skip to content

Commit

Permalink
Merge pull request #3659 from EnterpriseDB/release/2023-02-14
Browse files Browse the repository at this point in the history
Release: 2023-02-14
  • Loading branch information
drothery-edb authored Feb 14, 2023
2 parents b72857d + 73e81d0 commit 3aae4cd
Show file tree
Hide file tree
Showing 1,506 changed files with 82,912 additions and 7,602 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ legacyRedirects:
- "/edb-docs/d/postgresql/installation-getting-started/installation-guide-installers/10/PostgreSQL_Installation_Guide.1.22.html"
---

## Multi-byte characters in user name

If your system user name or machine name contains non-ASCII characters, the installation may fail. Make sure your user name or machine name don't include multi-byte characters.

## Installation log files

If you encounter problems during installation, consult the installation log file `install-postgresql.log` created in:

- `/tmp` on Mac OS X
Expand Down
4 changes: 3 additions & 1 deletion build-sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"efm": true,
"epas": true,
"pgd": true,
"pge": true,
"eprs": true,
"hadoop_data_adapter": true,
"jdbc_connector": true,
Expand All @@ -26,5 +27,6 @@
"pgpool": true,
"postgis": true,
"repmgr": true,
"slony": true
"slony": true,
"tde": true
}
2 changes: 2 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const sourceToPluginConfig = {
efm: { name: "efm", path: "product_docs/docs/efm" },
epas: { name: "epas", path: "product_docs/docs/epas" },
pgd: { name: "pgd", path: "product_docs/docs/pgd" },
pge: { name: "pge", path: "product_docs/docs/pge" },
eprs: { name: "eprs", path: "product_docs/docs/eprs" },
hadoop_data_adapter: {
name: "hadoop_data_adapter",
Expand Down Expand Up @@ -79,6 +80,7 @@ const sourceToPluginConfig = {
postgis: { name: "postgis", path: "product_docs/docs/postgis" },
repmgr: { name: "repmgr", path: "product_docs/docs/repmgr" },
slony: { name: "slony", path: "product_docs/docs/slony" },
tde: { name: "tde", path: "product_docs/docs/tde" },
};

const externalSourcePlugins = () => {
Expand Down
59 changes: 44 additions & 15 deletions install_template/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -354,53 +354,82 @@ products:
- name: SLES 15
arch: ppc64le
supported versions: [11, 12, 13, 14]
- name: EDB Postgres Extended Server
platforms:
- name: CentOS 7
arch: x86_64
supported versions: [15]
- name: AlmaLinux 8 or Rocky Linux 8
arch: x86_64
supported versions: [15]
- name: RHEL 7 or OL 7
arch: x86_64
supported versions: [15]
- name: RHEL 8 or OL 8
arch: x86_64
supported versions: [15]
- name: Ubuntu 18.04
arch: x86_64
supported versions: [15]
- name: Debian 11
arch: x86_64
supported versions: [15]
- name: Debian 10
arch: x86_64
supported versions: [15]
- name: Ubuntu 22.04
arch: x86_64
supported versions: [15]
- name: Ubuntu 20.04
arch: x86_64
supported versions: [15]
- name: EDB*Plus
platforms:
- name: CentOS 7
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: AlmaLinux 8 or Rocky Linux 8
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: RHEL 7 or OL 7
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: RHEL 8 or OL 8
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: RHEL 8
arch: ppc64le
supported versions: [40]
supported versions: [41]
- name: Ubuntu 18.04
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: Debian 10
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: Debian 11
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: Ubuntu 18.04
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: Ubuntu 20.04
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: Ubuntu 22.04
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: SLES 12
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: SLES 12
arch: ppc64le
supported versions: [40]
supported versions: [41]
- name: SLES 15
arch: x86_64
supported versions: [40]
supported versions: [41]
- name: SLES 15
arch: ppc64le
supported versions: [40]
supported versions: [41]
- name: Failover Manager
platforms:
- name: CentOS 7
Expand Down
27 changes: 3 additions & 24 deletions install_template/deploy.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -151,30 +151,9 @@ const moveDoc = async (product, platform, version) => {

// prettier-ignore
const destFilename = integralDeploymentPath || match(context,
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "CentOS 7"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository/${fmtArchPath(ctx)}/epas_centos7_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "AlmaLinux 8 or Rocky Linux 8"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_other_linux8_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "RHEL 7 or OL 7"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_rhel7_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "RHEL 8 or OL 8"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_rhel8_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "RHEL 8"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_rhel8_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "RHEL 7"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_rhel7_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "SLES 12"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository/${fmtArchPath(ctx)}/epas_sles12_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "SLES 15"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_sles15_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "Debian 10"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_deb10_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "Debian 11"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_deb11_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "Ubuntu 18.04"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_ubuntu18_${fmtArchFilename(ctx)}.mdx`),
when({product: {name: "EDB Postgres Advanced Server", version: 14}, platform: {name: "Ubuntu 20.04"}},
(ctx) => `epas/14/epas_inst_linux/installing_epas_using_edb_repository//${fmtArchPath(ctx)}/epas_ubuntu20_${fmtArchFilename(ctx)}.mdx`), );
when({product: {name: "xdb", version: 99}, platform: {name: "MS-DOS 4.0"}},
(ctx) => `xdb/99/installing/${fmtArchPath(ctx)}/xdb_centos7_${fmtArchFilename(ctx)}.mdx`),
);

function match(context, ...conditions) {
for (let test of conditions) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
{% set packageManagerNoninteractive = "-y" %}
{% set epelRepo = "epel-release" %}
{% block redhatConfig %}# Enable additional repositories to resolve dependencies:
sudo dnf config-manager --set-enabled PowerTools{% block mysqlfdw %}{% endblock mysqlfdw %}{% endblock redhatConfig %}
sudo dnf config-manager --set-enabled powertools{% block mysqlfdw %}{% endblock mysqlfdw %}{% endblock redhatConfig %}
3 changes: 1 addition & 2 deletions install_template/templates/products/edb*plus/base.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "platformBase/" + platformBaseTemplate + '.njk' %}
{% set packageName %}edb-as<xx>-edbplus{% endset %}
{% set packageName %}edb-edbplus{% endset %}
{% import "platformBase/_deploymentConstants.njk" as deploy %}
{% block frontmatter %}
{#
Expand All @@ -18,7 +18,6 @@ redirects:
{% endblock prodprereq %}
{% block installCommand %}
{{super()}}
Where `<xx>` is the version of EDB Postgres Advanced Server. For example, if you are installing with version 14 of EDB Postgres Advanced Server, the package name would be `edb-as14-edbplus`.
{% endblock installCommand %}
{% block postinstall %}
## Initial configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% set platformBaseTemplate = "almalinux-8-or-rocky-linux-8" %}
{% block installCommand %}
{{ super() }}
{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% extends "platformBase/" + platformBaseTemplate + '.njk' %}
{% set packageName = packageName or 'edb-postgresextended<xx>-server edb-postgresextended<xx>-contrib' %}
{% import "platformBase/_deploymentConstants.njk" as deploy %}
{% block frontmatter %}
{#
If you modify deployment path here, please first copy the old expression
and add it to the list under "redirects:" below - this ensures we don't
break any existing links.
#}
deployPath: pge/{{ product.version }}/installing/linux_{{platform.arch}}/pge_{{deploy.map_platform[platform.name]}}.mdx
redirects:
{% endblock frontmatter %}
{% block installCommand %}
{{super()}}
Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended15`.

{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% set platformBaseTemplate = "centos-7" %}
{% block installCommand %}
{{ super() }}
{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% extends "products/edb-postgres-extended-server/debian.njk" %}
{% set platformBaseTemplate = "debian-10" %}
{% set packageName %}edb-postgresextended-<xx> edb-postgresextended-<xx>-contrib{% endset %}
{% block installCommand %}
```shell
sudo {{ packageManager }} {{ packageManagerNoninteractive }} install {{ packageName }}
```

Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.

{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% extends "products/edb-postgres-extended-server/debian.njk" %}
{% set platformBaseTemplate = "debian-11" %}
{% set packageName %}edb-postgresextended-<xx> edb-postgresextended-<xx>-contrib{% endset %}
{% block installCommand %}
```shell
sudo {{ packageManager }} {{ packageManagerNoninteractive }} install {{ packageName }}
```

Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.

{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% extends "products/edb-postgres-extended-server/debian.njk" %}
{% set platformBaseTemplate = "debian-9" %}
{% set packageName %}edb-postgresextended<xx>{% endset %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% block debian_ubuntu %}This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.

```shell{% endblock debian_ubuntu %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% set platformBaseTemplate = "rhel-7-or-ol-7" %}
{% block installCommand %}
{{ super() }}
{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% extends "products/edb-postgres-extended-server/rhel-7-or-ol-7.njk" %}
{% set includePPC = true %}
{% set packageName %}edb-postgresextended<xx>{% endset %}
{% block installCommand %}
{{ super() }}
{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% set platformBaseTemplate = "rhel-8-or-ol-8" %}
{% block installCommand %}
{{ super() }}
{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% extends "products/edb-postgres-extended-server/rhel-8-or-ol-8.njk" %}
{% set includePPC = true %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% set platformBaseTemplate = "sles-12" %}
{% set packageManager = "zypper" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% extends "products/edb-postgres-extended-server/sles-12.njk" %}
{% set includePPC = true %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% set platformBaseTemplate = "sles-15" %}
{% set packageManager = "zypper" %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{% extends "products/edb-postgres-extended-server/sles-15.njk" %}
{% set includePPC = true %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% extends "products/edb-postgres-extended-server/ubuntu.njk" %}
{% set platformBaseTemplate = "ubuntu-18.04" %}
{% set packageName %}edb-postgresextended-<xx> edb-postgresextended-<xx>-contrib{% endset %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% extends "products/edb-postgres-extended-server/ubuntu.njk" %}
{% set platformBaseTemplate = "ubuntu-20.04" %}
{% set packageName %}edb-postgresextended-<xx> edb-postgresextended-<xx>-contrib{% endset %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% extends "products/edb-postgres-extended-server/ubuntu.njk" %}
{% set platformBaseTemplate = "ubuntu-22.04" %}
{% set packageName %}edb-postgresextended-<xx> edb-postgresextended-<xx>-contrib{% endset %}
{% block frontmatter %}
{# remove this block when Ubuntu 22 is released #}
{% endblock frontmatter %}

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
{% set platformBaseTemplate = "rhel-8-or-ol-8" %}
{% block redhatConfig %}# Enable additional repositories to resolve dependencies:
sudo dnf config-manager --set-enabled PowerTools

# Disable the built-in PostgreSQL module:
sudo dnf -qy module disable postgresql{% endblock redhatConfig %}
{% endblock redhatConfig %}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
{% block redhatConfig %}
# Enable additional repositories to resolve dependencies:
ARCH=$( /bin/arch ) subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"

# Disable the built-in PostgreSQL module:
sudo dnf -qy module disable postgresql{% endblock redhatConfig %}
{% endblock redhatConfig %}

This file was deleted.

Loading

2 comments on commit 3aae4cd

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.