34 Commits

Author SHA1 Message Date
atovpeko
a113e39dfa Fix broken link for installation docs 2024-12-16 15:41:04 -03:00
Vincent Dechenaux
f38c6f07cb Fix minimum Cmake version in BuildSource.md
Signed-off-by: Vincent Dechenaux <vincent.dechenaux@gmail.com>
2024-08-07 12:23:03 +02:00
Sven Klemm
fa7cd6d474 Remove some missed PG13 references and update docs 2024-05-15 14:22:50 +02:00
Jan Nidzwetzki
337adb63fc Release 2.13.0
This release contains performance improvements, an improved hypertable DDL API
and bug fixes since the 2.12.2 release. We recommend that you upgrade at the next
available opportunity.

In addition, it includes these noteworthy features:

* Full PostgreSQL 16 support for all existing features
* Vectorized aggregation execution for sum()
* Track chunk creation time used in retention/compression policies

**Deprecation notice: Multi-node support**
TimescaleDB 2.13 is the last version that will include multi-node support. Multi-node
support in 2.13 is available for PostgreSQL 13, 14 and 15. Learn more about it
[here](docs/MultiNodeDeprecation.md).

If you want to migrate from multi-node TimescaleDB to single-node TimescaleDB read the
[migration documentation](https://docs.timescale.com/migrate/latest/multi-node-to-timescale-service/).

**PostgreSQL 13 deprecation announcement**
We will continue supporting PostgreSQL 13 until April 2024. Sooner to that time, we will
announce the specific version of TimescaleDB in which PostgreSQL 13 support will not be
included going forward.

**Starting from TimescaleDB 2.13.0**
* No Amazon Machine Images (AMI) are published. If you previously used AMI, please
use another [installation method](https://docs.timescale.com/self-hosted/latest/install/)
* Continuous Aggregates are materialized only (non-realtime) by default

**Features**
* #5575 Add chunk-wise sorted paths for compressed chunks
* #5761 Simplify hypertable DDL API
* #5890 Reduce WAL activity by freezing compressed tuples immediately
* #6050 Vectorized aggregation execution for sum()
* #6062 Add metadata for chunk creation time
* #6077 Make Continous Aggregates materialized only (non-realtime) by default
* #6177 Change show_chunks/drop_chunks using chunk creation time
* #6178 Show batches/tuples decompressed during DML operations in EXPLAIN output
* #6185 Keep track of catalog version
* #6227 Use creation time in retention/compression policy
* #6307 Add SQL function cagg_validate_query

**Bugfixes**
* #6188 Add GUC for setting background worker log level
* #6222 Allow enabling compression on hypertable with unique expression index
* #6240 Check if worker registration succeeded
* #6254 Fix exception detail passing in compression_policy_execute
* #6264 Fix missing bms_del_member result assignment
* #6275 Fix negative bitmapset member not allowed in compression
* #6280 Potential data loss when compressing a table with a partial index that matches compression order.
* #6289 Add support for startup chunk exclusion with aggs
* #6290 Repair relacl on upgrade
* #6297 Fix segfault when creating a cagg using a NULL width in time bucket function
* #6305 Make timescaledb_functions.makeaclitem strict
* #6332 Fix typmod and collation for segmentby columns
* #6339 Fix tablespace with constraints
* #6343 Enable segmentwise recompression in compression policy

**Thanks**
* @fetchezar for reporting an issue with compression policy error messages
* @jflambert for reporting the background worker log level issue
* @torazem for reporting an issue with compression and large oids
* @fetchezar for reporting an issue in the compression policy
* @lyp-bobi for reporting an issue with tablespace with constraints
* @pdipesh02 for contributing to the implementation of the metadata for chunk creation time,
             the generalized hypertable API, and show_chunks/drop_chunks using chunk creation time
* @lkshminarayanan for all his work on PG16 support
2023-11-27 16:13:51 +01:00
Lakshmi Narayanan Sreethar
4bd704f3fc Further code cleanup after PG12 removal
Removed PG12 specific code guarded by the PG13_LT and PG13_GE macros.
2023-08-11 00:31:48 +05:30
Fabrízio de Royes Mello
332dffeebc Rename master branch to main
Following what many communities already did we agreed in renaming the
`master` branch to `main`.

Resources:
- https://sfconservancy.org/news/2020/jun/23/gitbranchname/
- https://postgr.es/m/20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de

Closes #4163
2022-03-15 15:04:30 -03:00
Fabrízio de Royes Mello
8a5cb54343 Add Postgres 14 prerequisites for compilation 2021-11-15 13:13:33 -03:00
Sven Klemm
fb863f12c7 Remove support for PG11
Remove support for compiling against PostgreSQL 11. This patch also
removes PG11 specific compatibility macros.
2021-06-01 20:21:06 +02:00
Fabrízio de Royes Mello
5606bf8883 Added Postgres 13 prerequisites for compilation
Issue #2779 introduced support for PostgreSQL 13
2021-05-11 04:35:31 +02:00
Mats Kindahl
80f72ddbbb Add declaration before code to guidelines
Declarations before code has been informally supported and we have
several examples in the code. This commit adds that guideline to the
coding guidelines.
2021-03-17 13:55:56 +01:00
Sven Klemm
c90397fd6a Remove support for PG9.6 and PG10
This patch removes code support for PG9.6 and PG10. In addition to
removing PG96 and PG10 macros the following changes are done:

remove HAVE_INT64_TIMESTAMP since this is always true on PG10+
remove PG_VERSION_SUPPORTS_MULTINODE
2020-06-02 23:48:35 +02:00
Ruslan Fomkin
966c34fdba Update build from source instructions for 1.7
PostgreSQL 12 is supported since 1.7, while 9.6 and 10 are deprecated.
This PR updates the building from source instruction with this change
and uses 1.7.0 in examples.
2020-04-22 19:15:14 +02:00
Lacey Butler
66f47c0857 Update README with addt resources, build instructions to separate file
This commit updates the README with updated resources, including Timescale
Cloud, new support options, release notes, and others. For readability, it
also moves instructions for building from source to a separate readme file.
2020-02-18 22:27:44 -05:00
Matvey Arye
cc52a78b9b Add scripts for clang-format
We are switching from pgindent to clang-format for several
reasons:
1) pgindent is harder to set up and depends on other tools
like gobjdump that differ between OSes making it harder
to set up a proper development environment.
2) clang-format is more standard and works better
with various IDEs and editors.

Our clang-format wrapper script is transactional in that this
version of the script copies all files to a temporary directory,
runs clang-format in the temp dir, and only then copies the files
back. This should prevent mis-formatting when the script is cancled
in the middle of running.

We changes travis to use clang-format instead of pgindent
and thus it uses a different docker image to do the format test.
We also changes travis to use the new clang docker
image for the license check and prefix checks for consistency.
This also paves the way for us to use more clang features for tests
in the future.
2019-02-05 16:55:16 -05:00
Michael J. Freedman
6e193c6ec9 Add contributions section in README, error messages to style guide 2018-06-28 23:11:53 -04:00
Rob Kiefer
4888bd8635 Remove out-dated docs/API in favor of docs.timescale.com 2017-07-10 10:44:21 -04:00
Matvey Arye
cedcafc959 Remove setup_timescaledb() and fix pg_dump/pg_restore.
This PR removes the need to run setup_timescaledb. It also fixes
pg_dump and pg_restore. Previously, the database would restore in
a broken state because trigger functions were never attached to
meta tables (since setup_timescaledb() was not run). However, attaching
those triggers at extension creation also causes problems since the data
copy happens after extension creation but we don't want triggers fired
on the data restored (that could cause duplicate rows, for example).

The solution to this chicken-and-egg problem in this PR is to have
a special configuration (GUC) variable `timescaledb.restoring` that,
if 'on', would prevent the extension from attaching triggers at
extension creation. Then, after restoration, you'd call
restore_timescaledb() to attach the triggers and unset the GUC above.
This procedure is documented in the README as part of this PR.
2017-05-22 16:12:21 -04:00
Solar Olugebefola
1ab3c634cc Fix typos 2017-05-16 10:28:36 -04:00
Matvey Arye
662be94d69 Add the first(value, time),last(value, time) aggregates
Add the first and last aggregate functions, which allows for getting
the first and last value, by time, per group. Addresses issue #30.
2017-05-16 09:46:49 -04:00
Olof Rensfelt
1c4868d754 Add documentation for chunk_time_interval argument 2017-05-04 12:20:27 -04:00
Matvey Arye
c3f930f6c8 Add time_bucket functions
Adds functions to bucket timestamps. These functions are more
powerful versions of date_trunc, since they can take arbitrary
intervals.
2017-05-03 15:40:49 -04:00
Rob Kiefer
39f4c0fd6e Remove sample data instructions and point to docs site
This commit directs users to our docs site for using sample data
so we don't have to keep both places in sync.
2017-04-26 13:22:07 -04:00
Erik Nordström
d27462e23f Add code style guide
This code style doc adds information about code style and formatting
as well as information on tools and editors.
2017-04-20 15:04:29 +02:00
Rob Kiefer
4c050ad815 Update sample queries' results for datasets 2017-03-22 18:56:00 -04:00
Rob Kiefer
cb90eef350 Rename setup_db() and fix port for local connections
If a user attempts to setup a database while not connecting using
the network, port is NULL and thus fails constraint checks. Instead,
we now use the default Postgres port of 5432 when this happens.

Also, setup_db() is renamed to setup_timescaledb() for clarity in
the presence of other extensions.
2017-03-22 09:26:03 -04:00
Rob Kiefer
a089baf9b7 Clarify on UsingSamples.md that dataset names are clickable 2017-03-10 12:52:23 -05:00
Rob Kiefer
fbd079f242 Update sample query output on UsingSamples.md
With update to TimescaleDB, we needed to create
new datasets. This commit updates the sample
output to reflect the new datasets.
2017-03-07 14:57:20 -05:00
Rob Kiefer
aefb6a2d19 Add an API reference in Markdown and update README 2017-03-07 14:34:06 -05:00
Rob Kiefer
ee3ad4678d Rename iobeamdb to TimescaleDB 2017-03-06 11:06:49 -05:00
RobAtticus NA
86d2e78894 Make sure UsingSamples steps are in ordered list 2017-03-01 20:33:50 +00:00
Rob Kiefer
bc05676166 Add examples to Sample readme 2017-02-23 13:49:24 -06:00
Ajay Kulkarni
c332f32dbf Readme edits for usability, clarity, consistency, and general awesomeness. 2017-02-13 19:07:10 -05:00
Rob Kiefer
027dc56085 Update sample doc instructions and add links 2017-02-09 14:36:42 -05:00
Rob Kiefer
a2198b7c72 Initial draft of sample docs. Update README 2017-02-02 12:44:25 -05:00