-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colocation: enforce colocated reloption behavior
Summary: Enforce the behavior of the `colocated` reloption from `CREATE TABLE`. By default, inherit the `colocated` option from the database. Then, allow overrides by the reloption specified by the user _only if the database is colocated_. Allow the user to redundantly specify `colocated = false` for a non-colocated database; error when the user specifies `colocated = true` for a non-colocated database. Depends on D8207 Test Plan: * `./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TableColocation` * `./yb_build.sh --java-test org.yb.pgsql.TestPgRegressBetaFeatures` Reviewers: neha Reviewed By: neha Subscribers: yql Differential Revision: https://phabricator.dev.yugabyte.com/D8218
- Loading branch information
Jason Kim
committed
Apr 1, 2020
1 parent
99daa74
commit 5acfdde
Showing
3 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/postgres/src/test/regress/expected/yb_feature_colocation.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters