diff src/postgres.sml @ 1364:0dec38af601c

Fix Postgres date serialization
author Adam Chlipala <adam@chlipala.net>
date Fri, 24 Dec 2010 17:18:28 -0500
parents 929981850d9d
children 58c9c039582a
line wrap: on
line diff
--- a/src/postgres.sml	Fri Dec 24 16:41:10 2010 -0500
+++ b/src/postgres.sml	Fri Dec 24 17:18:28 2010 -0500
@@ -654,7 +654,7 @@
       | String => e
       | Char => box [string "uw_Basis_attrifyChar(ctx, ", e, string ")"]
       | Bool => box [string "(", e, string " ? \"TRUE\" : \"FALSE\")"]
-      | Time => box [string "uw_Basis_attrifyTime(ctx, ", e, string ")"]
+      | Time => box [string "uw_Basis_ensqlTime(ctx, ", e, string ")"]
       | Blob => box [e, string ".data"]
       | Channel => box [string "uw_Basis_attrifyChannel(ctx, ", e, string ")"]
       | Client => box [string "uw_Basis_attrifyClient(ctx, ", e, string ")"]