Skip to content
This repository was archived by the owner on May 8, 2022. It is now read-only.

Commit e32daea

Browse files
committed
debug printfs
1 parent 9a07e00 commit e32daea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/database/psql.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func getDatabaseParameters(operation Operation) map[string]string {
4848
databaseCredentials["PGPORT"] = operation.DSN.Port()
4949
databaseCredentials["PGUSER_CREATE"] = "u_" + username
5050
databaseCredentials["PGUSER"] = "u_" + username + "@" + operation.DSN.Hostname()
51+
fmt.Printf("%v\n", databaseCredentials)
5152
return databaseCredentials
5253
}
5354

@@ -56,6 +57,7 @@ func getDatabaseParameters(operation Operation) map[string]string {
5657
func (c *PsqlConn) CreateDb(operation Operation) OpOutput {
5758
val := getPsqlOpQuery(operation)
5859

60+
fmt.Printf("%v\n", val)
5961
rows, err := c.c.Query(context.Background(), val)
6062
if err != nil {
6163
return OpOutput{Result: nil, Err: err}

0 commit comments

Comments
 (0)