Random missing postgresql functions

Daniel Lowe <[email protected]>
Newsgroups gmane.lisp.clsql.devel
Organization digital sanctuary
Message-ID <[email protected]>
(defsql sql-lower  (:symbol "lower") (&rest rest)
  (if (= (length rest) 1)
      (make-instance 'sql-function-exp
                     :name 'lower :args rest)
    (error 'sql-user-error :message "LOWER must have 1 argument.")))

(defsql sql-to-char (:symbol "to-char") (&rest rest)
  (if (= (length rest) 2)
      (make-instance 'sql-function-exp
                     :name 'to_char :args rest)
    (error 'sql-user-error :message "TO-CHAR must have two arguments.")))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.