X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fgeneric-postgresql.lisp;h=55d3a9082b8c6984781a58ed84cd3aef8662c979;hb=4881f86240f3da99ae537238cfccd61ac9c91f8f;hp=6716d14eabac8673c7dabebbc0135d81c03eac6d;hpb=5148be446aee32ec705beac3fbba35f499df4fd4;p=clsql.git diff --git a/sql/generic-postgresql.lisp b/sql/generic-postgresql.lisp index 6716d14..55d3a90 100644 --- a/sql/generic-postgresql.lisp +++ b/sql/generic-postgresql.lisp @@ -27,25 +27,11 @@ (declare (ignore type args database)) "VARCHAR") -(defmethod database-get-type-specifier ((type (eql 'simple-base-string)) args database - (db-type (eql :postgresql))) - (declare (ignore database)) - (if args - (format nil "VARCHAR(~A)" (car args)) - "VARCHAR")) - -(defmethod database-get-type-specifier ((type (eql 'simple-string)) args database - (db-type (eql :postgresql))) - (declare (ignore database)) - (if args - (format nil "VARCHAR(~A)" (car args)) - "VARCHAR")) - (defmethod database-get-type-specifier ((type (eql 'string)) args database (db-type (eql :postgresql))) (declare (ignore database)) (if args - (format nil "VARCHAR(~A)" (car args)) + (format nil "CHAR(~A)" (car args)) "VARCHAR")) (defmethod database-get-type-specifier ((type (eql 'wall-time)) args database