diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-12-24 17:18:28 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-12-24 17:18:28 -0500 |
commit | a6c580af25ee9e6112fcb116d9b0d2a09d2ea7cf (patch) | |
tree | efe3e97abebe7dfe38aa2de03b5511d62c1d028c /src/postgres.sml | |
parent | 466c2aa7a9c1f5bba2ad8630d55e2c2989216091 (diff) |
Fix Postgres date serialization
Diffstat (limited to 'src/postgres.sml')
-rw-r--r-- | src/postgres.sml | 2 |
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 ")"] |