lib/adapters/postgres.js
function (column) {
            if (column.fixed) {
                return ["char(", column.size || 255, ")"].join("");
            } else if (column.text === false || column.size) {
                return ["varchar(", column.size || 255, ")"].join("");
            } else {
                return 'text';
            }

        }
function (column) {
            if (column.fixed) {
                return ["char(", column.size || 255, ")"].join("");
            } else if (column.text === false || column.size) {
                return ["varchar(", column.size || 255, ")"].join("");
            } else {
                return 'text';
            }

        }
function ( column ) { if ( column . fixed ) { return [ "char(" , column . size || 255 , ")" ] . join ( "" ) ; } else if ( column . text === false || column . size ) { return [ "varchar(" , column . size || 255 , ")" ] . join ( "" ) ; } else { return 'text' ; } }
PostgreSQL prefers the text datatype.  If a fixed size is requested, the char type is used.  If the text type is specifically disallowed or there is a size specified, use the varchar type. Otherwise use the type type.
PostgreSQL prefers the text datatype . If a fixed size is requested the char type is used . If the text type is specifically disallowed or there is a size specified use the varchar type . Otherwise use the type type .