add failing test for pg array defaults
remove calls to sql_type on pg columns

fixes postgres array default values, issue #10613
fix build by reusing original behavior when needed