Commit 920c58df authored by Marc G. Fournier's avatar Marc G. Fournier

From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>

Subject: [HACKERS] libpq variable set patch

  Just a small change, so the automatic variable setting on
connection startup actually works...
parent a51df14a
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.27 1997/03/25 09:08:06 scrappy Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.28 1997/04/02 18:26:25 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -540,7 +540,7 @@ connectDB(PGconn *conn) ...@@ -540,7 +540,7 @@ connectDB(PGconn *conn)
{ {
PGresult *res; PGresult *res;
sprintf(setQuery, "SET %s TO \".60%s\"", eo->pgName, val); sprintf(setQuery, "SET %s TO '.60%s'", eo->pgName, val);
res = PQexec(conn, setQuery); res = PQexec(conn, setQuery);
PQclear(res); /* Don't care? */ PQclear(res); /* Don't care? */
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment