Changeset 14635 in project


Ignore:
Timestamp:
05/14/09 23:47:52 (11 years ago)
Author:
sjamaan
Message:

Fix two more small bugs. Time to get some sleep :/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/postgresql/trunk/postgresql.scm

    r14632 r14635  
    8989(define PQresultErrorMessage (foreign-lambda c-string PQresultErrorMessage (const pgresult*)))
    9090(define PQresultErrorField (foreign-lambda c-string PQresultErrorField (const pgresult*) int))
    91 
    9291
    9392(define PQclear (foreign-lambda void PQclear pgresult*))
     
    473472                   format-ranges)))))))))
    474473
    475 (Define-time-parser date-parser "YYYY-MM-DD")
     474(define-time-parser date-parser "YYYY-MM-DD")
    476475(define-time-parser timestamp-parser "YYYY-MM-DD hh:mm:ss.ssssss")
    477476(define-time-parser timestamp/tz-parser "YYYY-MM-DD hh:mm:ss.sssssszzz")
     
    537536                   ))
    538537
    539 (define (pg:escape-string str)
     538(define (pg:escape-string conn str)
    540539  (or (%pg:escape-string-conn conn str (string-length str))
    541540      (pg:error 'pg:connect
Note: See TracChangeset for help on using the changeset viewer.