Fixed RESQL test cases for exclusion constraints.

refs #5571
This commit is contained in:
Aditya Toshniwal 2020-12-24 14:03:07 +05:30 committed by Akshay Joshi
parent dbb4a46d46
commit f9087475d4
2 changed files with 10 additions and 4 deletions

View File

@ -16,7 +16,7 @@
"cltype": "text" "cltype": "text"
}, { }, {
"name": "col3", "name": "col3",
"cltype": "integer", "cltype": "integer"
}], }],
"is_partitioned": false, "is_partitioned": false,
"schema": "testschema", "schema": "testschema",
@ -85,10 +85,13 @@
"endpoint": "NODE-exclusion_constraint.obj", "endpoint": "NODE-exclusion_constraint.obj",
"sql_endpoint": "NODE-exclusion_constraint.sql_id", "sql_endpoint": "NODE-exclusion_constraint.sql_id",
"data": { "data": {
"name": "Exclusion_$%{}[]()&*^!@\"'`\\/#_1", "name": "Exclusion_$%{}[]()&*^!@\"'`\\/#",
"comment": "Comment for create", "comment": "Comment for create",
"fillfactor": "12", "fillfactor": "12",
"amname": "gist", "amname": "gist",
"condeferrable": true,
"condeferred": true,
"indconstraint": "col1 > 1",
"columns": [ "columns": [
{ {
"column": "col2", "column": "col2",

View File

@ -16,7 +16,7 @@
"cltype": "text" "cltype": "text"
}, { }, {
"name": "col3", "name": "col3",
"cltype": "integer", "cltype": "integer"
}], }],
"is_partitioned": false, "is_partitioned": false,
"schema": "testschema", "schema": "testschema",
@ -126,10 +126,13 @@
"endpoint": "NODE-exclusion_constraint.obj", "endpoint": "NODE-exclusion_constraint.obj",
"sql_endpoint": "NODE-exclusion_constraint.sql_id", "sql_endpoint": "NODE-exclusion_constraint.sql_id",
"data": { "data": {
"name": "Exclusion_$%{}[]()&*^!@\"'`\\/#_1", "name": "Exclusion_$%{}[]()&*^!@\"'`\\/#",
"comment": "Comment for create", "comment": "Comment for create",
"fillfactor": "12", "fillfactor": "12",
"amname": "gist", "amname": "gist",
"condeferrable": true,
"condeferred": true,
"indconstraint": "col1 > 1",
"columns": [ "columns": [
{ {
"column": "col2", "column": "col2",