diff --git a/pg.js b/pg.js
index <HASH>..<HASH> 100644
--- a/pg.js
+++ b/pg.js
@@ -435,11 +435,15 @@ SqlBuilder.column = function(name, schema) {
 		switch (cast) {
 			case 'integer':
 			case 'int':
-			case 'byte':
 			case 'smallint':
 			case 'number':
 				cast = '::int';
 				break;
+			case 'byte':
+			case 'binary':
+			case 'bytea':
+				cast = '::bytea';
+				break;
 			case 'float':
 			case 'real':
 			case 'double':
@@ -451,6 +455,13 @@ SqlBuilder.column = function(name, schema) {
 			case 'bool':
 				cast = '::boolean';
 				break;
+			case 'text':
+			case 'varchar':
+			case 'character':
+			case 'char':
+			case 'string':
+				cast = '::text';
+				break;
 		}
 	}
Added more types for casting in Postgres

Separated out binary casting from integer (binary is stored as "bytea" which contains alpha characters).
Added in string casting to "text".