aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/postgres.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-09-15 10:50:49 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-09-15 10:50:49 -0400
commit0b1061c946b2cca6866008d0907cd0f138be03dc (patch)
treed263c421be4668aa8c7963ee88335bf2ef3d23f8 /src/postgres.sml
parent3a19d9df41599153b83a77006b87dcae49c97035 (diff)
Fix Postgres timestamp round-tripping
Diffstat (limited to 'src/postgres.sml')
-rw-r--r--src/postgres.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postgres.sml b/src/postgres.sml
index bf58fe1a..f3942db4 100644
--- a/src/postgres.sml
+++ b/src/postgres.sml
@@ -506,7 +506,7 @@ fun p_getcol {loc, wontLeakStrings, col = i, typ = t} =
else
box [string "uw_strdup(ctx, ", e, string ")"]
| Bool => box [string "uw_Basis_stringToBool_error(ctx, ", e, string ")"]
- | Time => box [string "uw_Basis_stringToTime_error(ctx, ", e, string ")"]
+ | Time => box [string "uw_Basis_unsqlTime(ctx, ", e, string ")"]
| Blob => box [string "uw_Basis_stringToBlob_error(ctx, ",
e,
string ", ",