@@ -98,6 +98,8 @@ dialog_setting_connection_show_templates = Show template databases
dialog_setting_connection_show_templates_tip=Show template databases in database list.\nEnabled only if non-default databases are visible
dialog_setting_connection_show_not_available_for_conn=Show databases not available for connection
dialog_setting_connection_show_not_available_for_conn_tip=Show databases not available for connection in database list.\nEnabled only if non-default databases are visible
dialog_setting_connection_read_all_data_types=Read all data types
dialog_setting_connection_read_all_data_types_tip=Read all database data types. Including array types
dialog_setting_group_sql=SQL
dialog_setting_sql_dd_plain_label=Show $$ quote as
"\nLEFT OUTER JOIN pg_catalog.pg_class c ON c.oid=t.typrelid"+
"\nLEFT OUTER JOIN pg_catalog.pg_description d ON t.oid=d.objoid"+
"\nWHERE t.typname IS NOT null"+
"\nAND t.typcategory <> 'A'"+// Do not read array types
"\nAND c.relkind is null or c.relkind = 'c'";// 'c' == custom types
//"\nWHERE typnamespace=? " +
(readAllTypes?"":"\nAND t.typcategory <> 'A' AND c.relkind is null or c.relkind = 'c'")+// Do not read array types, unless the user has decided otherwise
//"\nAND c.relkind is null or c.relkind = 'c'"; // 'c' == custom types