From f47e5f26efd9588b94ef10d5610173cc3cc74dc2 Mon Sep 17 00:00:00 2001 From: Arthur Nascimento Date: Thu, 10 Nov 2022 16:04:21 -0300 Subject: [PATCH] The default sequence type is distributed In #eng-pgd-bdr-harp, Jakub Wartak noticed the discrepancy and Petr Jelinek confirmed that this is something to be adjusted in the docs. For reference: https://edb.slack.com/archives/C01GJ1C1BNH/p1668093242529229 --- product_docs/docs/pgd/4/bdr/sequences.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product_docs/docs/pgd/4/bdr/sequences.mdx b/product_docs/docs/pgd/4/bdr/sequences.mdx index 86dda2b2654..f419ad6cde6 100644 --- a/product_docs/docs/pgd/4/bdr/sequences.mdx +++ b/product_docs/docs/pgd/4/bdr/sequences.mdx @@ -63,7 +63,7 @@ determines the kind of sequence to create when the `CREATE SEQUENCE` command is executed or when a `serial`, `bigserial`, or `GENERATED BY DEFAULT AS IDENTITY` column is created. Valid settings are: -- `local` (the default), meaning that newly created +- `local`, meaning that newly created sequences are the standard PostgreSQL (local) sequences. - `galloc`, which always creates globally allocated range sequences. - `snowflakeid`, which creates global sequences for BIGINT sequences that @@ -71,7 +71,7 @@ command is executed or when a `serial`, `bigserial`, or INTEGER sequences (so you can use it for `bigserial` but not for `serial`). - `timeshard`, which is the older version of SnowflakeId sequence and is provided for backward compatibility only. The SnowflakeId is preferred. -- `distributed`, which is a special value that you can use only for +- `distributed` (the default), which is a special value that you can use only for `bdr.default_sequence_kind`. It selects `snowflakeid` for `int8` sequences (i.e., `bigserial`) and `galloc` sequence for `int4` (i.e., `serial`) and `int2` sequences.