Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/extensions/bundled/dblink.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The following procedure identifies the basic steps for configuring and using `db

```
$ psql -d postgres
psql (9.4.20)
psql (12.12)
Type "help" for help.

postgres=# CREATE TABLE testdblink (a int, b text) DISTRIBUTED BY (a);
Expand All @@ -65,7 +65,7 @@ The following procedure identifies the basic steps for configuring and using `db

```
$ psql -d testdb
psql (9.4beta1)
psql (12.12)
Type "help" for help.

testdb=# CREATE EXTENSION dblink;
Expand Down
2 changes: 1 addition & 1 deletion docs/extensions/bundled/gp_array_agg.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ SELECT gp_array_agg(a ORDER BY b NULLS FIRST) FROM table1;

## Additional Module Documentation

Refer to [Aggregate Functions](https://www.postgresql.org/docs/9.4/functions-aggregate.html) in the PostgreSQL documentation for more information about aggregates.
Refer to [Aggregate Functions](https://www.postgresql.org/docs/12/functions-aggregate.html) in the PostgreSQL documentation for more information about aggregates.
2 changes: 1 addition & 1 deletion docs/extensions/bundled/gp_percentile_agg.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ When the extension is registered, `optimizer_enable_orderedagg` is enabled, and

## Additional Module Documentation

Refer to [Ordered-Set Aggregate Functions](https://www.postgresql.org/docs/9.4/functions-aggregate.html#FUNCTIONS-ORDEREDSET-TABLE) in the PostgreSQL documentation for more information about using ordered-set aggregates.
Refer to [Ordered-Set Aggregate Functions](https://www.postgresql.org/docs/12/functions-aggregate.html#FUNCTIONS-ORDEREDSET-TABLE) in the PostgreSQL documentation for more information about using ordered-set aggregates.
8 changes: 4 additions & 4 deletions docs/extensions/bundled/greenplum_fdw.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Refer to [Installing Extensions](/docs/6x/install_guide/additional_modules/index

## About the greenplum_fdw Module

`greenplum_fdw` is an MPP version of the [postgres_fdw](https://www.postgresql.org/docs/9.4/postgres-fdw.html) foreign-data wrapper. While it behaves similarly to `postgres_fdw` in many respects, `greenplum_fdw` uses a WarehousePG parallel retrieve cursor to pull data directly from the segments of a remote WarehousePG cluster to the segments in the local WarehousePG cluster, in parallel.
`greenplum_fdw` is an MPP version of the [postgres_fdw](https://www.postgresql.org/docs/12/postgres-fdw.html) foreign-data wrapper. While it behaves similarly to `postgres_fdw` in many respects, `greenplum_fdw` uses a WarehousePG parallel retrieve cursor to pull data directly from the segments of a remote WarehousePG cluster to the segments in the local WarehousePG cluster, in parallel.

By supporting predicate pushdown, `greenplum_fdw` minimizes the amount of data transferred between the WarehousePG clusters by sending a query filter condition to the remote WarehousePG server where it is applied there.

Expand All @@ -77,7 +77,7 @@ You will perform the following tasks when you use `greenplum_fdw` to access data

To access a remote WarehousePG cluster, you must first create a foreign server object which specifies the host, port, and database connection details. You provide these connection parameters in the `OPTIONS` clause of the [CREATE SERVER](/docs/6x/ref_guide/sql_commands/CREATE_SERVER.md) command.

A foreign server using the `greenplum_fdw` foreign-data wrapper accepts and disallows the same options as that of a foreign server using the `postgres_fdw` FDW; refer to the [Connection Options](https://www.postgresql.org/docs/9.4/postgres-fdw.html) topic in the PostgreSQL `postgres_fdw` documentation for more information about these options.
A foreign server using the `greenplum_fdw` foreign-data wrapper accepts and disallows the same options as that of a foreign server using the `postgres_fdw` FDW; refer to the [Connection Options](https://www.postgresql.org/docs/12/postgres-fdw.html) topic in the PostgreSQL `postgres_fdw` documentation for more information about these options.

To obtain the full benefits of the parallel transfer feature provided by `greenplum_fdw`, you must also specify:

Expand Down Expand Up @@ -208,7 +208,7 @@ Setting this option at the foreign table-level overrides a foreign server-level

### About the Cost Estimation Options

`greenplum_fdw` supports the same cost estimation options as described in the [Cost Estimation Options](https://www.postgresql.org/docs/9.4/postgres-fdw.html) topic in the PostgreSQL `postgres_fdw` documentation.
`greenplum_fdw` supports the same cost estimation options as described in the [Cost Estimation Options](https://www.postgresql.org/docs/12/postgres-fdw.html) topic in the PostgreSQL `postgres_fdw` documentation.

<a id="topic_connmgmt">

Expand All @@ -224,7 +224,7 @@ Setting this option at the foreign table-level overrides a foreign server-level

### About Transaction Management

`greenplum_fdw` manages transactions as described in the [Transaction Management](https://www.postgresql.org/docs/9.4/postgres-fdw.html) topic in the PostgreSQL `postgres_fdw` documentation.
`greenplum_fdw` manages transactions as described in the [Transaction Management](https://www.postgresql.org/docs/12/postgres-fdw.html) topic in the PostgreSQL `postgres_fdw` documentation.

<a id="resgroups">

Expand Down
2 changes: 1 addition & 1 deletion docs/extensions/bundled/isn.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Refer to [Installing Extensions](/docs/7x/install_guide/additional_modules/index

## Module Documentation

Refer to the [isn Postgres documentation](https://www.postgresql.org/docs/9.4/isn.html) for detailed information about using the module.
Refer to the [isn Postgres documentation](https://www.postgresql.org/docs/12/isn.html) for detailed information about using the module.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ If you get warnings indicating that the Console code page differs from Windows c

```
psql -h prod1.example.local warehouse
psql (9.4.20)
psql (12.12)
WARNING: Console code page (850) differs from Windows code page (1252)
8-bit characters might not work correctly. See psql reference
page "Notes for Windows users" for details.
Expand All @@ -108,7 +108,7 @@ chcp 1252
Active code page: 1252

psql -h prod1.example.local warehouse
psql (9.4.20)
psql (12.12)
Type "help" for help.
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Configure WarehousePG to use Kerberos.

```
$ psql -U "gpadmin/admin" -h cdw postgres
psql (9.4.20)
psql (12.12)
Type "help" for help.

postgres=# select current_user;
Expand Down
4 changes: 2 additions & 2 deletions docs/whpg/7x/ref_guide/config_params/guc-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2195,7 +2195,7 @@ Sets the display format for interval values. The value *sql_standard* produces o

The value *postgres_verbose* produces output matching WarehousePG releases prior to 3.3 when the [DateStyle](#datestyle) parameter was set to non-ISO output.

The value *iso_8601* will produce output matching the time interval *format with designators* defined in section 4.4.3.2 of ISO 8601. See the [PostgreSQL 9.4 documentation](https://www.postgresql.org/docs/12/datatype-datetime.html) for more information.
The value *iso_8601* will produce output matching the time interval *format with designators* defined in section 4.4.3.2 of ISO 8601. See the [PostgreSQL 12 documentation](https://www.postgresql.org/docs/12/datatype-datetime.html) for more information.

| Value Range | Default | Set Classifications |
| -------------------------------------------------- | -------- | ---------------------------- |
Expand Down Expand Up @@ -3738,7 +3738,7 @@ Reports the version of PostgreSQL that this release of WarehousePG is based on.

| Value Range | Default | Set Classifications |
| ----------- | ------- | ------------------- |
| string | 9.4.20 | read only |
| string | 12.12 | read only |

<a id="server_version_num"></a>

Expand Down
24 changes: 12 additions & 12 deletions docs/whpg/7x/ref_guide/misc/feature_summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ The following features of SQL 2008 are not supported in WarehousePG:

## WarehousePG and PostgreSQL Compatibility

WarehousePG is based on PostgreSQL 9.4. To support the distributed nature and typical workload of a WarehousePG cluster, some SQL commands have been added or modified, and there are a few PostgreSQL features that are not supported. WarehousePG has also added features not found in PostgreSQL, such as physical data distribution, parallel query optimization, external tables, resource queues, and enhanced table partitioning. For full SQL syntax and references, see the [SQL Commands](../sql_commands/index.md).
WarehousePG is based on PostgreSQL 12.12. To support the distributed nature and typical workload of a WarehousePG cluster, some SQL commands have been added or modified, and there are a few PostgreSQL features that are not supported. WarehousePG has also added features not found in PostgreSQL, such as physical data distribution, parallel query optimization, external tables, resource queues, and enhanced table partitioning. For full SQL syntax and references, see the [SQL Commands](../sql_commands/index.md).

> **Note** WarehousePG does not support the PostgreSQL [large object facility](https://www.postgresql.org/docs/12/largeobjects.html) for streaming user data that is stored in large-object structures.

Expand All @@ -144,7 +144,7 @@ WarehousePG is based on PostgreSQL 9.4. To support the distributed nature and ty
| `ALTER DATABASE` | YES | |
| `ALTER DOMAIN` | YES | |
| `ALTER EVENT TRIGGER` | YES | |
| `ALTER EXTENSION` | YES | Changes the definition of a WarehousePG extension - based on PostgreSQL 9.6. |
| `ALTER EXTENSION` | YES | Changes the definition of a WarehousePG extension - based on PostgreSQL. |
| `ALTER FUNCTION` | YES | |
| `ALTER GROUP` | YES | An alias for [ALTER ROLE](../sql_commands/ALTER_ROLE.md) |
| `ALTER INDEX` | YES | |
Expand Down Expand Up @@ -182,19 +182,19 @@ WarehousePG is based on PostgreSQL 9.4. To support the distributed nature and ty
| `CREATE DATABASE` | YES | |
| `CREATE DOMAIN` | YES | |
| `CREATE EVENT TRIGGER` | YES | |
| `CREATE EXTENSION` | YES | Loads a new extension into WarehousePG - based on PostgreSQL 9.6. |
| `CREATE EXTERNAL TABLE` | YES | WarehousePG parallel ETL feature - not in PostgreSQL 9.4. |
| `CREATE EXTENSION` | YES | Loads a new extension into WarehousePG - based on PostgreSQL. |
| `CREATE EXTERNAL TABLE` | YES | WarehousePG parallel ETL feature - not in PostgreSQL. |
| `CREATE FUNCTION` | YES | **Limitations:**<br/><br/>Functions defined as `STABLE` or `VOLATILE` can be run in WarehousePG provided that they are run on the coordinator only. `STABLE` and `VOLATILE` functions cannot be used in statements that run at the segment level. |
| `CREATE GROUP` | YES | An alias for [CREATE ROLE](../sql_commands/CREATE_ROLE.md) |
| `CREATE INDEX` | YES | **WarehousePG Clauses:**<br/><br/>`USING bitmap` (bitmap indexes)<br/><br/>**Limitations:**<br/><br/>`UNIQUE` indexes are allowed only if they contain all of (or a superset of) the WarehousePG distribution key columns. On partitioned tables, a unique index is only supported within an individual partition - not across all partitions.<br/><br/>`CONCURRENTLY` keyword not supported in WarehousePG. |
| `CREATE LANGUAGE` | YES | |
| `CREATE MATERIALIZED VIEW` | YES | Based on PostgreSQL 9.4. |
| `CREATE MATERIALIZED VIEW` | YES | Based on PostgreSQL 12.12. |
| `CREATE OPERATOR` | YES | **Limitations:**<br/><br/>The function used to implement the operator must be an `IMMUTABLE` function. |
| `CREATE OPERATOR CLASS` | YES | |
| `CREATE OPERATOR FAMILY` | YES | |
| `CREATE PROTOCOL` | YES | |
| `CREATE PUBLICATION` | NO | |
| `CREATE RESOURCE QUEUE` | YES | WarehousePG resource management feature - not in PostgreSQL 9.4. |
| `CREATE RESOURCE QUEUE` | YES | WarehousePG resource management feature - not in PostgreSQL. |
| `CREATE ROLE` | YES | **WarehousePG Clauses:**<br/><br/>`RESOURCE QUEUE`*queue_name*` \| none` |
| `CREATE RULE` | YES | |
| `CREATE SCHEMA` | YES | |
Expand All @@ -211,15 +211,15 @@ WarehousePG is based on PostgreSQL 9.4. To support the distributed nature and ty
| `DECLARE` | YES | **Unsupported Clauses / Options:**<br/><br/>`SCROLL`<br/><br/>`FOR UPDATE [ OF column [, ...] ]`<br/><br/>**Limitations:**<br/><br/>Cursors cannot be backward-scrolled. Forward scrolling is supported.<br/><br/>PL/pgSQL does not have support for updatable cursors. |
| `DELETE` | YES | |
| `DISCARD` | YES | **Limitation:** `DISCARD ALL` is not supported. |
| `DO` | YES | PostgreSQL 9.0 feature |
| `DO` | YES | PostgreSQL feature |
| `DROP AGGREGATE` | YES | |
| `DROP CAST` | YES | |
| `DROP CONVERSION` | YES | |
| `DROP DATABASE` | YES | |
| `DROP DOMAIN` | YES | |
| `DROP EVENT TRIGGER` | YES | |
| `DROP EXTENSION` | YES | Removes an extension from WarehousePG – based on PostgreSQL 9.6. |
| `DROP EXTERNAL TABLE` | YES | WarehousePG parallel ETL feature - not in PostgreSQL 9.4. |
| `DROP EXTENSION` | YES | Removes an extension from WarehousePG – based on PostgreSQL. |
| `DROP EXTERNAL TABLE` | YES | WarehousePG parallel ETL feature - not in PostgreSQL. |
| `DROP FUNCTION` | YES | |
| `DROP GROUP` | YES | An alias for [DROP ROLE](../sql_commands/DROP_ROLE.md) |
| `DROP INDEX` | YES | |
Expand All @@ -230,7 +230,7 @@ WarehousePG is based on PostgreSQL 9.4. To support the distributed nature and ty
| `DROP OWNED` | **NO** | |
| `DROP PROTOCOL` | YES | |
| `DROP PUBLICATION` | NO | |
| `DROP RESOURCE QUEUE` | YES | WarehousePG resource management feature - not in PostgreSQL 9.4. |
| `DROP RESOURCE QUEUE` | YES | WarehousePG resource management feature - not in PostgreSQL 12.12. |
| `DROP ROLE` | YES | |
| `DROP RULE` | YES | |
| `DROP SCHEMA` | YES | |
Expand All @@ -257,11 +257,11 @@ WarehousePG is based on PostgreSQL 9.4. To support the distributed nature and ty
| `PREPARE` | YES | |
| `PREPARE TRANSACTION` | **NO** | |
| `REASSIGN OWNED` | YES | |
| `REFRESH MATERIALIZED VIEW` | YES | Based on PostgreSQL 9.4. |
| `REFRESH MATERIALIZED VIEW` | YES | Based on PostgreSQL. |
| `REINDEX` | YES | |
| `RELEASE SAVEPOINT` | YES | |
| `RESET` | YES | |
| `RETRIEVE` | YES | WarehousePG parallel retrieve cursor - not in PostgreSQL 9.4. |
| `RETRIEVE` | YES | WarehousePG parallel retrieve cursor - not in PostgreSQL. |
| `REVOKE` | YES | |
| `ROLLBACK` | YES | |
| `ROLLBACK PREPARED` | **NO** | |
Expand Down
4 changes: 2 additions & 2 deletions docs/whpg/7x/ref_guide/misc/sql-keywords.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ See [SQL Syntax](https://www.postgresql.org/docs/12/sql-syntax.html) in the Post

## SQL Key Words

[SQL keyword status](#sql-keyword-status) lists all tokens that are key words in WarehousePG 6 and PostgreSQL 9.4.
[SQL keyword status](#sql-keyword-status) lists all tokens that are key words in WarehousePG and PostgreSQL.

ANSI SQL distinguishes between *reserved* and *unreserved* key words. According to the standard, reserved key words are the only real key words; they are never allowed as identifiers. Unreserved key words only have a special meaning in particular contexts and can be used as identifiers in other contexts. Most unreserved key words are actually the names of built-in tables and functions specified by SQL. The concept of unreserved key words essentially only exists to declare that some predefined meaning is attached to a word in some contexts.

Expand All @@ -39,7 +39,7 @@ Before studying the table, note the fact that a key word is not reserved does no

### SQL keyword status

| Key Word | WarehousePG | PostgreSQL 9.4 |
| Key Word | WarehousePG | PostgreSQL 12.12 |
| :------------------ | :------------------------------------------- | :------------------------------------------- |
| ABORT | unreserved | unreserved |
| ABSOLUTE | unreserved | unreserved |
Expand Down
4 changes: 2 additions & 2 deletions docs/whpg/7x/ref_guide/utility_guide/reference/pg_restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ The listing file consists of a header and one line for each item, for example,
; Format: CUSTOM
; Integer: 4 bytes
; Offset: 8 bytes
; Dumped from database version: 9.4.24
; Dumped by pg_dump version: 9.4.24
; Dumped from database version: 12.12
; Dumped by pg_dump version: 12.12
;
; Selected TOC Entries:
;
Expand Down
2 changes: 1 addition & 1 deletion docs/whpg/7x/security_guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This guide describes how to secure a WarehousePG cluster. The guide assumes know

> **Important** Because WarehousePG is based on PostgreSQL, certain commercial security scanning software, when trying to identify WarehousePG vulnerabilities, may use a PostgreSQL database profile. The reports generated by these tools can produce misleading results, and cannot be trusted as an accurate assessment of vulnerabilities that may exist in WarehousePG.

Because WarehousePG is based on PostgreSQL 9.4, this guide assumes some familiarity with PostgreSQL. References to [PostgreSQL documentation](https://www.postgresql.org/docs/12/index.html) are provided throughout this guide for features that are similar to those in WarehousePG.
Because WarehousePG is based on PostgreSQL 12.12, this guide assumes some familiarity with PostgreSQL. References to [PostgreSQL documentation](https://www.postgresql.org/docs/12/index.html) are provided throughout this guide for features that are similar to those in WarehousePG.

This information is intended for system administrators responsible for administering a WarehousePG cluster.

Expand Down
Loading