Skip to content

Commit

Permalink
Remove support for PG11
Browse files Browse the repository at this point in the history
Remove support for compiling against PostgreSQL 11. This patch also
removes PG11 specific compatibility macros.
  • Loading branch information
svenklemm committed Jun 1, 2021
1 parent 22ceabc commit fb863f1
Show file tree
Hide file tree
Showing 110 changed files with 303 additions and 3,338 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ about: Something not work right? Help us fix it!

**Relevant system information:**
- OS: [e.g. Ubuntu 16.04, Windows 10 x64, etc]
- PostgreSQL version (output of `postgres --version`): [e.g. 11.3, 12.0]
- PostgreSQL version (output of `postgres --version`): [e.g. 13.2, 12.0]
- TimescaleDB version (output of `\dx` in `psql`): [e.g. 1.0.0]
- Installation method: [e.g., "using Docker", "apt install", "source"]

Expand Down
6 changes: 3 additions & 3 deletions docs/BuildSource.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ See the Releases tab for the latest release.

**Prerequisites**:

- A standard PostgreSQL 13.2+, 12 or 11.4+ installation with development
- A standard PostgreSQL 13.2+ or 12 installation with development
environment (header files) (e.g., `postgresql-server-dev-13` package
for Linux, Postgres.app for MacOS)
- C compiler (e.g., gcc or clang)
Expand All @@ -28,7 +28,7 @@ cd build && make
make install
```

Note, if you have multiple versions of PostgreSQL installed you can specify the path to `pg_config`
Note, if you have multiple versions of PostgreSQL installed you can specify the path to `pg_config`
that should be used by using `./bootstrap -DPG_CONFIG=/path/to/pg_config`.

Please see our [additional configuration instructions](https://docs.timescale.com/getting-started/installation).
Expand All @@ -42,7 +42,7 @@ See the Releases tab for the latest release.

**Prerequisites**:

- A standard [PostgreSQL 13.2+, 12 or 11.4+ 64-bit installation](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads#windows)
- A standard [PostgreSQL 13.2+ or 12 64-bit installation](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads#windows)
- OpenSSL for Windows
- Microsoft Visual Studio 2017 with CMake and Git components
- OR Visual Studio 2015/2016 with [CMake](https://cmake.org/) version 3.4 or greater and Git
Expand Down
4 changes: 2 additions & 2 deletions scripts/test_restore_points.sh
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ function test_diff()
diff ${RESULT_DIR}/single_node_${RESTORE_POINT_NAME} ${RESULT_DIR}/multi_node_${RESTORE_POINT_NAME}
}

if [ ${PG_VERSION_MAJOR} -lt 11 ]; then
echo "Current PostgreSQL version is not supported (expected version >= PG11)"
if [ ${PG_VERSION_MAJOR} -lt 12 ]; then
echo "Current PostgreSQL version is not supported (expected version >= PG12)"
exit 1
fi

Expand Down
7 changes: 1 addition & 6 deletions src/adts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ This directory contains a collection of Abstract Data Types.
These ADTS are containers that can store data of any other type.
These ADTs use macros as oppossed to void pointers for performance
reasons, as well as for better type safety. This approach to
ADTs follows Postgres convention (see simplehash).

## Simplehash

This is a hash table implementation. Copied over from Postgres (where it's
available after PG 11).
ADTs follows Postgres convention.

## Vector

Expand Down
Loading

0 comments on commit fb863f1

Please sign in to comment.