aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/postgres.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-12-24 17:18:28 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2010-12-24 17:18:28 -0500
commitdeeab26120507ee945ab8ce95fe313fcd23b7b13 (patch)
treeefe3e97abebe7dfe38aa2de03b5511d62c1d028c /src/postgres.sml
parent15aa6f21492886d96545da1e0b0e5f8e5d796c8d (diff)
Fix Postgres date serialization
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 0acd1bf3..7209f34a 100644
--- a/src/postgres.sml
+++ b/src/postgres.sml
@@ -654,7 +654,7 @@ fun p_ensql t e =
| 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 ")"]