|
|
@ -8,7 +8,9 @@
|
|
|
|
(define *postgresql-translator*
|
|
|
|
(define *postgresql-translator*
|
|
|
|
(let ((type->sql-converters
|
|
|
|
(let ((type->sql-converters
|
|
|
|
`((,boolean? . boolean->sql)
|
|
|
|
`((,boolean? . boolean->sql)
|
|
|
|
,@(*ansi-translator* 'type->sql-converters))))
|
|
|
|
,@(*ansi-translator* 'type->sql-converters)))
|
|
|
|
|
|
|
|
(clauses-order (append (*ansi-translator* 'clauses-order)
|
|
|
|
|
|
|
|
'(returning))))
|
|
|
|
|
|
|
|
|
|
|
|
(derive-object (*ansi-translator*)
|
|
|
|
(derive-object (*ansi-translator*)
|
|
|
|
((escape-string string)
|
|
|
|
((escape-string string)
|
|
|
@ -17,6 +19,8 @@
|
|
|
|
((boolean->sql boolean)
|
|
|
|
((boolean->sql boolean)
|
|
|
|
(if boolean "'t'" "'f'"))
|
|
|
|
(if boolean "'t'" "'f'"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
((clauses-order) clauses-order)
|
|
|
|
|
|
|
|
|
|
|
|
((type->sql-converters) type->sql-converters))))
|
|
|
|
((type->sql-converters) type->sql-converters))))
|
|
|
|
|
|
|
|
|
|
|
|
(define-operators *postgresql-translator*
|
|
|
|
(define-operators *postgresql-translator*
|
|
|
|