diff src/postgres.sml @ 2226:e10881cd92da

Merge.
author Ziv Scully <ziv@mit.edu>
date Fri, 27 Mar 2015 11:26:06 -0400
parents 661b531f55bd
children d2a98983f502
line wrap: on
line diff
--- a/src/postgres.sml	Fri Mar 27 11:19:15 2015 -0400
+++ b/src/postgres.sml	Fri Mar 27 11:26:06 2015 -0400
@@ -340,14 +340,12 @@
                   newline,
                   newline,
 
-                  p_list_sepi newline (fn i => fn (s, n) =>
+                  p_list_sepi newline (fn i => fn (s, _) =>
                                                   box [string "res = PQprepare(conn, \"uw",
                                                        string (Int.toString i),
                                                        string "\", \"",
                                                        string (Prim.toCString s),
-                                                       string "\", ",
-                                                       string (Int.toString n),
-                                                       string ", NULL);",
+                                                       string "\", 0, NULL);",
                                                        newline,
                                                        string "if (PQresultStatus(res) != PGRES_COMMAND_OK) {",
                                                        newline,