Skip to content

Commit 77102d2

Browse files
committed
Add a new PostgreSQL error
1 parent f54c13b commit 77102d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sqlancer/postgres/gen/PostgresIndexGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public static SQLQueryAdapter generate(PostgresGlobalState globalState) {
134134
errors.add("functions in index predicate must be marked IMMUTABLE");
135135
errors.add("functions in index expression must be marked IMMUTABLE");
136136
errors.add("result of range difference would not be contiguous");
137+
errors.add("which is part of the partition key");
137138
PostgresCommon.addCommonExpressionErrors(errors);
138139
return new SQLQueryAdapter(sb.toString(), errors);
139140
}

0 commit comments

Comments
 (0)