blob: 49b35f9e8dc17cb05c23a566ccdb89d3e25d4cf5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- interfaces/libpq/fe-connect.c Sun May 21 17:19:53 2000
+++ interfaces/libpq/fe-connect.c Fri Sep 15 13:53:52 2000
@@ -801 +801 @@
- sprintf(conn->errorMessage,
+ printfPQExpBuffer(&conn->errorMessage,
@@ -809 +809 @@
- sprintf(conn->errorMessage, "PQconnectDB() -- couldn't read postmaster response: errno=%d\n%s\n",
+ printfPQExpBuffer(&conn->errorMessage, "PQconnectDB() -- couldn't read postmaster response: errno=%d\n%s\n",
@@ -822 +822 @@
- sprintf(conn->errorMessage,
+ printfPQExpBuffer(&conn->errorMessage,
@@ -832 +832 @@
- sprintf(conn->errorMessage,
+ printfPQExpBuffer(&conn->errorMessage,
@@ -850 +850 @@
- strcpy(conn->errorMessage,
+ printfPQExpBuffer(&conn->errorMessage,
|