Skip to content

Commit cf844c3

Browse files
author
Jesse Seldess
authored
Merge pull request cockroachdb#3392 from cockroachdb/resolve-limitation
Resolve known limitation with CHECK constraints on upsert
2 parents 6cb5c4d + b4b92a3 commit cf844c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

v2.0/known-limitations.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ toc: true
66

77
This page describes newly identified limitations in the CockroachDB v2.0 release as well as unresolved limitations identified in earlier releases.
88

9-
109
## New Limitations
1110

1211
### Silent validation error with `DECIMAL` values
@@ -53,6 +52,8 @@ As a workaround, use integer values or a percentage, for example, `--cache=1536M
5352

5453
### Check constraints with `INSERT ... ON CONFLICT`
5554

55+
{{site.data.alerts.callout_info}}Resolved as of <a href="../releases/v2.0.4.html">v2.0.4</a>. See <a href="https://github.com/cockroachdb/cockroach/pull/26699">#26699</a>.{{site.data.alerts.end}}
56+
5657
[`CHECK`](check.html) constraints are not properly enforced on updated values resulting from [`INSERT ... ON CONFLICT`](insert.html) statements. Consider the following example:
5758

5859
~~~ sql

v2.1/known-limitations.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ toc: true
66

77
This page describes newly identified limitations in the CockroachDB v2.1 release as well as unresolved limitations identified in earlier releases.
88

9-
109
## New limitations
1110

1211
None identified yet.
@@ -48,6 +47,8 @@ As a workaround, use integer values or a percentage, for example, `--cache=1536M
4847

4948
### Check constraints with `INSERT ... ON CONFLICT`
5049

50+
{{site.data.alerts.callout_info}}Resolved as of <a href="../releases/v2.1.0-alpha.20180702.html">v2.1.0-alpha.20180702</a>. See <a href="https://github.com/cockroachdb/cockroach/pull/26642">#26642</a>.{{site.data.alerts.end}}
51+
5152
[`CHECK`](check.html) constraints are not properly enforced on updated values resulting from [`INSERT ... ON CONFLICT`](insert.html) statements. Consider the following example:
5253

5354
{% include copy-clipboard.html %}

0 commit comments

Comments
 (0)