Remove dependency of "db-doc" on "srfi-doc".

This commit is contained in:
Sam Tobin-Hochstadt 2014-12-01 10:37:10 -05:00
parent 3d0e2ad5cd
commit 592ea25ee2
3 changed files with 8 additions and 10 deletions

View File

@ -6,8 +6,7 @@
racket/runtime-path
"config.rkt"
"tabbing.rkt"
(for-label (prefix-in srfi: srfi/19)
db db/util/geometry db/util/postgresql
(for-label db db/util/geometry db/util/postgresql
json))
@(define-runtime-path log-file "log-for-sql-types.rktd")
@ -414,15 +413,15 @@ values.
Represents SQL times and timestamps.
The @racket[tz] field indicates the time zone offset as the number
of seconds east of GMT (as in SRFI 19). If @racket[tz] is
@racket[#f], the time or timestamp does not carry time zone
information.
of seconds east of GMT (as in @racketmodname[srfi/19
#:indirect]). If @racket[tz] is @racket[#f], the time or timestamp
does not carry time zone information.
The @racket[sql-time] and @racket[sql-timestamp] structures store
fractional seconds to nanosecond precision for compatibility with
SRFI 19. Note, however, that database systems generally do not
support nanosecond precision; PostgreSQL, for example, only supports
microsecond precision.
@racketmodname[srfi/19 #:indirect]. Note, however, that database
systems generally do not support nanosecond precision; PostgreSQL,
for example, only supports microsecond precision.
@examples[#:eval the-eval
(query-value pgc "select date '25-dec-1980'")

View File

@ -36,7 +36,7 @@ modules below, not by @racketmodname[db] or @racketmodname[db/base].
sql-timestamp?]]]{
Converts between this library's date and time values and SRFI 19's
date values (see @racketmodname[srfi/19]). SRFI dates store more
date values (see @racketmodname[srfi/19 #:indirect]). SRFI dates store more
information than SQL dates and times, so converting a SQL time to a
SRFI date, for example, puts zeroes in the year, month, and day
fields.

View File

@ -6,7 +6,6 @@
(define build-deps '("data-doc"
"srfi-lite-lib"
"srfi-doc"
"web-server-doc"
"base"
"scribble-lib"