From 97109153f4e63fabcd328c09e4a843e81e3a56ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20P=C3=A1nek?= Date: Mon, 17 Feb 2014 16:14:27 +0100 Subject: [PATCH] Removed tinyint cast rule This rule has overridden the default rule for `tinyint(1)` and instead of placing `boolean`, it kept the typemod and placed `boolean(1)` into the resulting query. --- test/parse/my.load | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parse/my.load b/test/parse/my.load index 8849d7e..15d3a5b 100644 --- a/test/parse/my.load +++ b/test/parse/my.load @@ -1,11 +1,11 @@ load database from mysql://localhost/adv into postgresql://dim@localhost/adv -with drop tables, truncate, create tables, create indexes, +with include drop, truncate, create tables, create indexes, reset sequences, downcase identifiers - set work_mem to '128MB', maintenance_work_mem to '512 MB' + +set work_mem to '128MB', maintenance_work_mem to '512 MB' cast type datetime to timestamptz drop default using zero-dates-to-null, - type date drop not null drop default using zero-dates-to-null, - type tinyint to boolean using tinyint-to-boolean; + type date drop not null drop default using zero-dates-to-null;