This commit is contained in:
Patrick Schratz 2024-09-20 16:24:55 +02:00
commit 5e43c25acf
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -7,7 +7,7 @@
query_metadata_table <- function(table = "single_builds") {
con <- DBI::dbConnect(RPostgres::Postgres(),
dbname = "build_metadata", host = "r-binaries.devxy.io",
port = 15432, user = "arm_binaries", password = Sys.getenv("PGPASS")
port = 15432, user = "r_binaries", password = Sys.getenv("PGPASS")
)
metadata <- tbl(con, table)
return(metadata)
@ -18,7 +18,7 @@ query_metadata_table <- function(table = "single_builds") {
list_metadata_tables <- function() {
con <- DBI::dbConnect(RPostgres::Postgres(),
dbname = "build_metadata", host = "r-binaries.devxy.io",
port = 15432, user = "arm_binaries", password = Sys.getenv("PGPASS")
port = 15432, user = "r_binaries", password = Sys.getenv("PGPASS")
)
dbListTables(con)
}