@@ -1362,19 +1362,22 @@ func TestChangefeedRandomExpressions(t *testing.T) {
1362
1362
// error, we unfortunately don't have the pgcode and have to
1363
1363
// rely on known strings.
1364
1364
validPgErrs := []string {
1365
+ "argument is not an object" ,
1365
1366
"cannot subtract infinite dates" ,
1366
- "regexp compilation failed" ,
1367
- "invalid regular expression" ,
1368
- "invalid escape string" ,
1369
- "error parsing GeoJSON" ,
1367
+ "dwithin distance cannot be less than zero" ,
1370
1368
"error parsing EWKB" ,
1371
1369
"error parsing EWKT" ,
1372
- "geometry type is unsupported" ,
1373
- "should be of length" ,
1374
- "dwithin distance cannot be less than zero" ,
1375
- "parameter has to be of type Point" ,
1370
+ "error parsing GeoJSON" ,
1376
1371
"expected LineString" ,
1372
+ "geometry type is unsupported" ,
1373
+ "invalid escape string" ,
1374
+ "invalid regular expression" ,
1377
1375
"no locations to init GEOS" ,
1376
+ "parameter has to be of type Point" ,
1377
+ "regexp compilation failed" ,
1378
+ "result out of range" ,
1379
+ "should be of length" ,
1380
+ "unknown DateStyle parameter" ,
1378
1381
}
1379
1382
containsKnownPgErr := func (e error ) (interface {}, bool ) {
1380
1383
for _ , v := range validPgErrs {
0 commit comments