Updated get-database-type-specifier to handle text/longchar type
[clsql.git] / sql / generic-postgresql.lisp
index 178b3b0473901ac0909fd64381a2de2b816620db..feeaced389b125c371f40475cfd8bb0ba79e021a 100644 (file)
@@ -22,7 +22,8 @@
 
 (defmethod database-get-type-specifier (type args database
                                         (db-type (eql :postgresql)))
-  (declare (ignore type args database))
+  (warn "Could not determine a valid :postgresqlsql type specifier for ~A ~A ~A, defaulting to VARCHAR "
+        type args database)
   "VARCHAR")
 
 (defmethod database-get-type-specifier ((type (eql 'string)) args database