This repository was archived by the owner on Sep 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ void *ParserExceptionTest(int port) {
41
41
try {
42
42
// forcing the factory to generate psql protocol handler
43
43
pqxx::connection C (StringUtil::Format (
44
- " host=127.0.0.1 port=%d user=postgres sslmode=disable application_name=psql" , port));
44
+ " host=127.0.0.1 port=%d user=default_database sslmode=disable application_name=psql" , port));
45
45
46
46
peloton::network::ConnectionHandle *conn =
47
47
peloton::network::ConnectionHandleFactory::GetInstance ().ConnectionHandleAt (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ void *PrepareStatementTest(int port) {
37
37
try {
38
38
// forcing the factory to generate jdbc protocol handler
39
39
pqxx::connection C (StringUtil::Format (
40
- " host=127.0.0.1 port=%d user=postgres sslmode=disable" , port));
40
+ " host=127.0.0.1 port=%d user=default_database sslmode=disable" , port));
41
41
LOG_INFO (" [PrepareStatementTest] Connected to %s" , C.dbname ());
42
42
pqxx::work txn1 (C);
43
43
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void *SelectAllTest(int port) {
38
38
try {
39
39
// forcing the factory to generate psql protocol handler
40
40
pqxx::connection C (StringUtil::Format (
41
- " host=127.0.0.1 port=%d user=postgres sslmode=disable application_name=psql" , port));
41
+ " host=127.0.0.1 port=%d user=default_database sslmode=disable application_name=psql" , port));
42
42
pqxx::work txn1 (C);
43
43
peloton::network::ConnectionHandle *conn =
44
44
peloton::network::ConnectionHandleFactory::GetInstance ().ConnectionHandleAt (
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void *SimpleQueryTest(int port) {
38
38
try {
39
39
// forcing the factory to generate psql protocol handler
40
40
pqxx::connection C (StringUtil::Format (
41
- " host=127.0.0.1 port=%d user=postgres sslmode=disable application_name=psql" , port));
41
+ " host=127.0.0.1 port=%d user=default_database sslmode=disable application_name=psql" , port));
42
42
pqxx::work txn1 (C);
43
43
44
44
peloton::network::ConnectionHandle *conn =
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ void *BasicTest(int port) {
39
39
try {
40
40
// forcing the factory to generate psql protocol handler
41
41
pqxx::connection C (StringUtil::Format (
42
- " host=127.0.0.1 port=%d user=postgres application_name=psql sslmode=require" , port));
42
+ " host=127.0.0.1 port=%d user=default_database application_name=psql sslmode=require" , port));
43
43
pqxx::work txn1 (C);
44
44
45
45
peloton::network::ConnectionHandle *conn =
You can’t perform that action at this time.
0 commit comments