File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -1219,11 +1219,8 @@ func TestPrepStmt(t *testing.T) {
1219
1219
& pgproto3.Bind {
1220
1220
PreparedStatement : "pstmt1" ,
1221
1221
Parameters : [][]byte {
1222
- []byte ("client_encoding" ),
1223
- // we need to set client encoding
1224
- // to non-default param, to recieve a param status
1225
- // message
1226
- []byte ("KOI8R" ),
1222
+ []byte ("log_statement_stats" ),
1223
+ []byte ("off" ),
1227
1224
[]byte ("false" ),
1228
1225
},
1229
1226
},
@@ -1294,16 +1291,11 @@ func TestPrepStmt(t *testing.T) {
1294
1291
},
1295
1292
1296
1293
& pgproto3.DataRow {Values : [][]byte {
1297
- []byte ("KOI8R " ),
1294
+ []byte ("off " ),
1298
1295
}},
1299
1296
1300
1297
& pgproto3.CommandComplete {CommandTag : []byte ("SELECT 1" )},
1301
1298
1302
- & pgproto3.ParameterStatus {
1303
- Name : "client_encoding" ,
1304
- Value : "KOI8R" ,
1305
- },
1306
-
1307
1299
& pgproto3.ReadyForQuery {
1308
1300
TxStatus : 73 ,
1309
1301
},
You can’t perform that action at this time.
0 commit comments