diff --git a/regress/expected/where-clause.out b/regress/expected/where-clause.out index d630a17..b045424 100644 --- a/regress/expected/where-clause.out +++ b/regress/expected/where-clause.out @@ -68,7 +68,8 @@ LINE 1: ...th space" FROM ONLY public.tbl_where_clause WHERE invalid_co... ERROR: query failed: ERROR: syntax error at or near "=" LINE 1: ...ELECT * FROM ONLY "public"."tbl_where_clause" WHERE id === 3 ^ - ++HINT: No operator matches the given name and argument types. You might need to add explicit type casts. ++DETAIL: query was: INSERT INTO repack.table_18335 SELECT id,value,active,"column with space" FROM ONLY public.tbl_where_clause WHERE id === 3 -- Test 2: Unclosed quotes in where clause \! pg_repack --dbname=contrib_regression --table=tbl_where_clause --where-clause="value = 'unclosed" INFO: repacking table "public.tbl_where_clause" @@ -76,7 +77,6 @@ ERROR: query failed: ERROR: unterminated quoted string at or near "'unclosed" LINE 1: ...e" FROM ONLY public.tbl_where_clause WHERE value = 'unclosed ^ DETAIL: query was: INSERT INTO repack.table_18335 SELECT id,value,active,"column with space" FROM ONLY public.tbl_where_clause WHERE value = 'unclosed - -- Test 3: Type mismatch error in where clause \! pg_repack --dbname=contrib_regression --table=tbl_where_clause --where-clause="id = 'not a number'" INFO: repacking table "public.tbl_where_clause" @@ -84,10 +84,8 @@ ERROR: query failed: ERROR: invalid input syntax for type integer: "not a numbe LINE 1: ...ace" FROM ONLY public.tbl_where_clause WHERE id = 'not a num... ^ DETAIL: query was: INSERT INTO repack.table_18335 SELECT id,value,active,"column with space" FROM ONLY public.tbl_where_clause WHERE id = 'not a number' - -- Test 4: Column with space in name \! pg_repack --dbname=contrib_regression --table=tbl_where_clause --where-clause="\"column with space\" = 'one'" INFO: repacking table "public.tbl_where_clause" - -- Clean up -DROP TABLE tbl_where_clause; \ No newline at end of file +DROP TABLE tbl_where_clause;