-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)docs-donedocs-known-limitation
Description
Consider the following transaction:
SET TIME ZONE +2;
BEGIN;
SET TIME ZONE +3;
ROLLBACK
SHOW TIME ZONE
If we apply a ROLLBACK, Postgres returns +2, however, CockroachDB returns +3.
This is a backwards incompatible change, not sure what the answer here is.
Jira issue: CRDB-9572
Metadata
Metadata
Assignees
Labels
A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)docs-donedocs-known-limitation