fix bug on non empty defaults for pg array columns

fixes #10613
fix mysql builds
Merge pull request #14509 from lukesteensen/pg-array-defaults

remove calls to sql_type on pg columns