r9796: * sql/expressions.lisp: reactivate caching of generated SQL
[clsql.git] / sql / generic-postgresql.lisp
index 43a92012532c85bfdc51098c00bfb95e8e18601b..5149bb08a6db516621c89870892825fb292b90c7 100644 (file)
       (format nil "CHAR(~A)" (car args))
     "VARCHAR"))
 
+(defmethod database-get-type-specifier ((type (eql 'tinyint)) args database
+                                       (db-type (eql :postgresql)))
+  (declare (ignore args database))
+  "INT2")
+
 (defmethod database-get-type-specifier ((type (eql 'smallint)) args database
                                        (db-type (eql :postgresql)))
   (declare (ignore args database))