Skip to content

Commit

Permalink
Merge pull request #1100 from EnterpriseDB/release/2021-03-19
Browse files Browse the repository at this point in the history
Production Release 2021-03-19

Former-commit-id: 02e8e92
  • Loading branch information
epbarger authored Mar 19, 2021
2 parents af20e65 + 41147c8 commit 9ed314e
Show file tree
Hide file tree
Showing 1,202 changed files with 24,404 additions and 4,213 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
env:
NODE_ENV: ${{ secrets.NODE_ENV }}

# - name: Checking Gatsby cache
# id: gatsby-cache-build
# uses: actions/cache@v2
# with:
# path: |
# public
# .cache
# key: ${{ runner.os }}-gatsby-build-develop-${{ github.run_id }}
# restore-keys: |
# ${{ runner.os }}-gatsby-build-develop-
- name: Checking Gatsby cache
id: gatsby-cache-build
uses: actions/cache@v2
with:
path: |
public
.cache
key: ${{ runner.os }}-gatsby-build-develop-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-gatsby-build-develop-
- name: Fix mtimes
run: yarn fix-mtimes --force
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
env:
NODE_ENV: ${{ secrets.NODE_ENV }}

# - name: Checking Gatsby cache
# id: gatsby-cache-build
# uses: actions/cache@v2
# with:
# path: |
# public
# .cache
# key: ${{ runner.os }}-gatsby-build-main-${{ github.run_id }}
# restore-keys: |
# ${{ runner.os }}-gatsby-build-main-
- name: Checking Gatsby cache
id: gatsby-cache-build
uses: actions/cache@v2
with:
path: |
public
.cache
key: ${{ runner.os }}-gatsby-build-main-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-gatsby-build-main-
- name: Fix mtimes
run: yarn fix-mtimes --force
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn pretty-quick --staged --pattern 'src/**/*.js' --pattern 'gatsby-*.js'
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "EDB Installers"
description: "The PostgreSQL installers created by EnterpriseDB are designed to make it quick and simple to install PostgreSQL on your computer."
legacyRedirects:
- "/edb-docs/d/postgresql/installation-getting-started/installation-guide/13.0/index.html"
---

The PostgreSQL installers created by EnterpriseDB are designed to make it quick and simple to install PostgreSQL on your computer. The installer provides:
Expand Down
4 changes: 0 additions & 4 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ const indexQuery = `

/********** Gatsby config *********/
module.exports = {
flags: {
PRESERVE_WEBPACK_CACHE: true,
FAST_REFRESH: true,
},
pathPrefix: '/docs',
siteMetadata: {
title: 'EDB Docs',
Expand Down
17 changes: 16 additions & 1 deletion gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ const createDoc = (navTree, prevNext, doc, productVersions, actions) => {

const template = doc.frontmatter.productStub ? 'doc-stub.js' : 'doc.js';
const path = isLatest ? replacePathVersion(doc.fields.path) : doc.fields.path;

// workaround for https://github.com/gatsbyjs/gatsby/issues/26520
actions.createPage({
path: path,
component: require.resolve(`./src/templates/${template}`),
context: {},
});

actions.createPage({
path: path,
component: require.resolve(`./src/templates/${template}`),
Expand Down Expand Up @@ -301,6 +309,13 @@ const createAdvocacy = (navTree, prevNext, doc, learn, actions) => {
fileUrlSegment,
)}`;

// workaround for https://github.com/gatsbyjs/gatsby/issues/26520
actions.createPage({
path: doc.fields.path,
component: require.resolve('./src/templates/learn-doc.js'),
context: {},
});

actions.createPage({
path: doc.fields.path,
component: require.resolve('./src/templates/learn-doc.js'),
Expand All @@ -325,7 +340,7 @@ const createAdvocacy = (navTree, prevNext, doc, learn, actions) => {
);
}

const path = `${doc.fields.path}/${katacodaPage.scenario}`;
const path = `${doc.fields.path}${katacodaPage.scenario}`;
actions.createPage({
path: path,
component: require.resolve('./src/templates/katacoda-page.js'),
Expand Down
50 changes: 23 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"format": "prettier --write src/**/*.js gatsby-*.js",
"build": "gatsby build --prefix-paths",
"serve-build": "gatsby serve --prefix-paths",
"prepare": "husky install",
"update-icons": "git submodule update --init --remote && node scripts/createIconTypes.js && node scripts/createIconNames.js",
"build-pdf": "docker-compose -f docker/docker-compose.build-pdf.yaml run --rm --entrypoint scripts/pdf/generate_pdf.py pdf-builder",
"build-all-pdfs": "for i in product_docs/docs/**/*/ ; do echo \"$i\"; yarn build-pdf ${i%} || exit 1; done",
Expand All @@ -23,43 +24,37 @@
"heroku-postbuild": "gatsby build",
"build-legacy-redirects-nginx": "gatsby clean && gatsby build --prefix-paths && python3 scripts/legacy_redirects/clean_up_output.py"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern 'src/**/*.js' --pattern 'gatsby-*.js'"
}
},
"dependencies": {
"@mdx-js/mdx": "^1.6.1",
"@mdx-js/react": "^1.6.1",
"algoliasearch": "^4.2.0",
"balance-text": "^3.3.0",
"bl": "4.0.3",
"bl": "4.1.0",
"bootstrap": "4.6.0",
"gatsby": "^2.31.1",
"gatsby-cli": "^2.12.93",
"gatsby-image": "^2.4.1",
"gatsby-plugin-algolia": "^0.16.3",
"gatsby-plugin-catch-links": "^2.6.0",
"gatsby": "^3.1.0",
"gatsby-cli": "^3.1.0",
"gatsby-plugin-algolia": "^0.17.0",
"gatsby-plugin-catch-links": "^3.0.0",
"gatsby-plugin-google-fonts": "^1.0.1",
"gatsby-plugin-google-tagmanager": "^2.10.0",
"gatsby-plugin-manifest": "^2.4.10",
"gatsby-plugin-mdx": "^1.2.6",
"gatsby-plugin-google-tagmanager": "^3.0.0",
"gatsby-plugin-manifest": "^3.0.0",
"gatsby-plugin-mdx": "^2.0.1",
"gatsby-plugin-meta-redirect": "^1.1.1",
"gatsby-plugin-netlify": "^2.3.13",
"gatsby-plugin-netlify": "^3.0.1",
"gatsby-plugin-nginx-redirect": "^0.0.11",
"gatsby-plugin-react-helmet": "^3.3.1",
"gatsby-plugin-react-helmet": "^4.0.0",
"gatsby-plugin-react-svg": "^3.0.0",
"gatsby-plugin-remove-fingerprints": "^0.0.2",
"gatsby-plugin-sass": "^3.1.0",
"gatsby-plugin-sharp": "^2.13.2",
"gatsby-plugin-sitemap": "^2.4.13",
"gatsby-remark-autolink-headers": "^2.3.1",
"gatsby-remark-images": "^3.10.0",
"gatsby-remark-prismjs": "^3.5.4",
"gatsby-source-filesystem": "^2.3.1",
"gatsby-transformer-json": "^2.4.3",
"gatsby-transformer-remark": "^2.8.15",
"gatsby-transformer-sharp": "^2.5.1",
"gatsby-plugin-sass": "^4.0.2",
"gatsby-plugin-sharp": "^3.0.1",
"gatsby-plugin-sitemap": "^3.0.0",
"gatsby-remark-autolink-headers": "^3.0.0",
"gatsby-remark-images": "4.0.0",
"gatsby-remark-prismjs": "^4.0.0",
"gatsby-source-filesystem": "^3.0.0",
"gatsby-transformer-json": "^3.0.0",
"gatsby-transformer-remark": "^3.0.0",
"gatsby-transformer-sharp": "^3.0.0",
"graceful-fs": "^4.2.4",
"is-absolute-url": "^3.0.3",
"markdown-to-jsx": "^7.0.0",
Expand All @@ -77,7 +72,7 @@
"fast-glob": "^3.2.5",
"hast-util-is-element": "^1.1.0",
"hast-util-to-text": "^2.0.1",
"husky": "^4.3.5",
"husky": "^5.1.3",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"react-refresh": "^0.9.0",
Expand All @@ -88,6 +83,7 @@
"remark-frontmatter": "^2.0.0",
"remark-mdx": "^1.6.22",
"remark-stringify": "^8.1.1",
"semver-compare": "^1.0.0",
"to-vfile": "^6.1.0",
"typescript": "^4.1.3"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ You can use an RPM package to install Advanced Server on a CentOS host.
On CentOS 8:

```text
# dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# dnf -y install epel-release

# dnf makecache
```
Expand Down Expand Up @@ -548,15 +548,15 @@ The following steps will walk you through using the EDB apt repository to instal
sudo su
```

- Configure the EDB repository:
- Configure the EDB repository and replace the `username` and `password` placeholders in the following command:

On Debian 9, Ubuntu 18, and Ubuntu 20:
On Debian 9:

```text
sh -c 'echo "deb https://USERNAME:[email protected]/$(lsb_release -cs)-edb/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/edb-$(lsb_release -cs).list'
```

On Debian 10:
On Debian 10, Ubuntu 18, and Ubuntu 20:

a. Set up the EDB repository:

Expand Down Expand Up @@ -852,9 +852,9 @@ You can also view online help for `initdb` by assuming superuser privileges and

Where `path_to_initdb_installation_directory` specifies the location of the `initdb` binary file.

### Modifying the Data Directory Location on CentOS or Redhat 7.x
### Modifying the Data Directory Location on CentOS or Redhat 7.x | 8.x

On a CentOS or RedHat version 7.x host, the unit file is named `edb-as-13.service` and resides in `/usr/lib/systemd/system`. The unit file contains references to the location of the Advanced Server `data` directory. You should avoid making any modifications directly to the unit file because it may be overwritten during package upgrades.
On a CentOS or RedHat version 7.x | 8.x host, the unit file is named `edb-as-13.service` and resides in `/usr/lib/systemd/system`. The unit file contains references to the location of the Advanced Server `data` directory. You should avoid making any modifications directly to the unit file because it may be overwritten during package upgrades.

By default, data files reside under `/var/lib/edb/as13/data` directory. To use a data directory that resides in a non-default location, perform the following steps:

Expand Down
12 changes: 12 additions & 0 deletions product_docs/docs/eprs/6.2/01_introduction/01_whats_new.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "What’s New"
---

<div id="whats_new" class="registered_link"></div>

The following features have been added to xDB Replication Server version 6.1 to create xDB Replication Server version 6.2:

> - Registering your xDB Replication Server product with an EnterpriseDB product license key is no longer required. Thus, all components related to registering the product have been removed. The following are the removed components: 1) the Product Registration dialog box accessed from the xDB Replication Console Help menu, 2) the `license_key` parameter located in the xDB Replication Configuration file, and 3) the xDB Replication Server CLI `registerkey` command.
> - Partitioned tables created using the declarative partitioning feature of PostgreSQL and Advanced Server version 10 and later can now be replicated in a log-based single-master or multi-master replication system. For more information, see [Replicating Postgres Partitioned Tables](../07_common_operations/10_replicating_postgres_partitioned_tables/#replicating_postgres_partitioned_tables).
> - In a single-master replication system, removal of a table from a publication that has one or more existing subscriptions is now permitted as long as the table to be removed is not the parent referenced in a foreign key constraint from a child table that is not being removed as well. Previously, no tables from a publication in a single-master replication system could be removed if there are existing subscriptions. For more information, see [Removing Tables from a Publication](../07_common_operations/06_managing_publication/03_updating_pub/#remove_tables_from_pub).
> - Versions 11 and 12 of PostgreSQL and Advanced Server are now supported.
11 changes: 11 additions & 0 deletions product_docs/docs/eprs/6.2/01_introduction/02_conventions_used.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Conventions Used in this Guide"
---

<div id="conventions_used" class="registered_link"></div>

The following is a list of other conventions used throughout this document.

- This guide applies to both Linux and Windows systems. Directory paths are presented in the Linux format with forward slashes. When working on Windows systems, start the directory path with the drive letter followed by a colon and substitute back slashes for forward slashes.
- Much of the information in this document applies interchangeably to PostgreSQL and EDB Postgres Advanced Server. The term Postgres is used to generically refer to both PostgreSQL and Advanced Server. When a distinction needs to be made between these two database systems, the specific names, PostgreSQL or Advanced Server are used.
- The installation directory path of the PostgreSQL or Advanced Server products is referred to as `POSTGRES_INSTALL_HOME`. For PostgreSQL Linux installations, this defaults to `/opt/PostgreSQL/x.x` for version `10` and earlier. For later versions, use the PostgreSQL community packages. For PostgreSQL Windows installations, this defaults to `C:\Program Files\PostgreSQL\x.x`. For Advanced Server Linux installations accomplished using the interactive installer for version 10 and earlier, this defaults to `/opt/PostgresPlus/x.xAS or /opt/edb/asx.x`. For Advanced Server Linux installations accomplished using an RPM package, this defaults to `/usr/ppas-x.x or /usr/edb/asx.x`. For Advanced Server Windows installations, this defaults to `C:\Program Files\PostgresPlus\x.xAS` or `C:\Program Files\edb\asx.x`. The product version number is represented by `x.x` or by `xx` for version `10` and later.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Certified and Supported Product Versions"
---

The following database product versions may be used with xDB Replication Server:

- PostgreSQL versions 9.6, 10, 11, 12, and 13
- Advanced Server versions 9.6, 10, 11, 12, and 13
- Oracle 10g Release 2 version 10.2.0.1.0 has been explicitly certified. Newer minor versions in the 10.2 line are supported as well.
- Oracle 11g Release 2 version 11.2.0.2.0 has been explicitly certified. Newer minor versions in the 11.2 line are supported as well.
- Oracle 12c version 12.1.0.2.0 has been explicitly certified. Newer minor versions in the 12.1 line are supported as well.
- SQL Server 2008 version 10.50.1617.0 has been explicitly certified. Newer minor versions in the 10.50 line are supported as well.
- SQL Server 2012 version 11.0.6020.0 has been explicitly certified. Newer minor versions in the 11.0 line are supported as well.
- SQL Server 2014 version 12.0.5000.0 has been explicitly certified. Newer minor versions in the 12.0 line are supported as well.

Contact your EnterpriseDB Account Manager or [[email protected]](mailto:[email protected]) if you require support for other platforms.

**A Note Regarding Oracle RAC and Oracle Exadata**

xDB Replication server has not been tested and is not officially supported for use with Oracle RAC and Exadata, but may work when connected to a single persistent node. To determine its ability to work with RAC or Exadata, please contact your EDB representative.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Supported JDK Versions"
---

The xDB Replication Server is certified to work with the following Java platforms:

| **Operating Systems** | **JDK Versions** |
| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `CentOS 7 and 8`<br /> | - Red Hat OpenJDK 7 <br /> - Red Hat OpenJDK 8 <br /> |
| `PPCLE RHEL7` | <br /><br /><br />Red Hat OpenJDK 8<br /><br /> |
| `RHEL 7`<br /> | - Red Hat OpenJDK 7 <br /> - Red Hat OpenJDK 8 <br /> - Oracle JDK 7 <br /> - Oracle JDK 8 <br /> |
| `Windows 2012 R2, 2016, and 2019`<br /> | - Red Hat OpenJDK 7 <br /> - Red Hat OpenJDK 8 <br /> |
| `Debian 10` | <br /><br /><br />Red Hat OpenJDK 11<br /><br /> |

**Certified Java Platforms**

!!! Note
EDB Postgres Replication Server 6.2 is no longer supported on `CentOS/RHEL/OEL 6.x` platforms. It is strongly recommended that EDB products running on these platforms should be migrated to a supported platform.
Loading

0 comments on commit 9ed314e

Please sign in to comment.