我想有一个等价的:
create table t (
fromts timestamptz,
tots timestamptz,
exclude using gist ((fromts, tots) with overlaps)
);
ERROR: syntax error at or near ","
LINE 4: exclude using gist ((fromts, tots) with overlaps)
我猜除了语法错误之外,还有不可交换运算符的问题。
使它工作的最简单方法是什么?