diff src/postgres.sml @ 939:38a376dc7401

Fix Postgres timestamp round-tripping
author Adam Chlipala <adamc@hcoop.net>
date Tue, 15 Sep 2009 10:50:49 -0400
parents 034eeb099564
children 16f7cb0891b6
line wrap: on
line diff
--- a/src/postgres.sml	Tue Sep 15 10:43:01 2009 -0400
+++ b/src/postgres.sml	Tue Sep 15 10:50:49 2009 -0400
@@ -506,7 +506,7 @@
                 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 ", ",