[#2728] Add support for Amazon Redshift

This commit is contained in:
lukaseder 2015-05-04 19:58:49 +02:00
parent f5a4c79d5b
commit 8da0229d1b

View File

@ -53,6 +53,7 @@ import static org.jooq.SQLDialect.HSQLDB;
// ...
// ...
import static org.jooq.SQLDialect.POSTGRES;
// ...
import static org.jooq.SQLDialect.SQLITE;
// ...
// ...
@ -623,7 +624,7 @@ class Expression<T> extends AbstractFunction<T> {
public final void accept(Context<?> ctx) {
String op = operator.toSQL();
if (operator == BIT_XOR && ctx.family() == POSTGRES) {
if (operator == BIT_XOR && asList(POSTGRES).contains(ctx.family())) {
op = "#";
}