Skip to content

Commit 3f4812d

Browse files
committed
R: Don't use database name when connecting
It would give users a wrong impression.
1 parent 1c75dbe commit 3f4812d

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

by-language/r/basic_rpostgres.r

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ conn <- dbConnect(drv,
1919
sslmode = "disable",
2020
user = "crate",
2121
password = "crate",
22-
dbname = "doc",
2322
)
2423
on.exit(DBI::dbDisconnect(conn), add = TRUE)
2524

by-language/r/basic_rpostgresql.r

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ conn <- dbConnect(drv,
1818
port = 5432,
1919
user = "crate",
2020
password = "crate",
21-
dbname = "doc",
2221
)
2322
on.exit(DBI::dbDisconnect(conn), add = TRUE)
2423

0 commit comments

Comments
 (0)