Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 920c58d

Browse files
committed
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...
1 parent a51df14 commit 920c58d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/fe-connect.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.27 1997/03/25 09:08:06 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.28 1997/04/02 18:26:25 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -540,7 +540,7 @@ connectDB(PGconn *conn)
540540
{
541541
PGresult *res;
542542

543-
sprintf(setQuery, "SET %s TO \".60%s\"", eo->pgName, val);
543+
sprintf(setQuery, "SET %s TO '.60%s'", eo->pgName, val);
544544
res = PQexec(conn, setQuery);
545545
PQclear(res); /* Don't care? */
546546
}

0 commit comments

Comments
 (0)