diff --git a/NEWS.md b/NEWS.md index 337de0c..1ffdaed 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ ## 0.2.9 (unreleased) - Fixed typecasting for empty results with RPostgreSQL 0.7 +- Fixed warning with RPostgreSQL ## 0.2.8 (2021-01-16) diff --git a/R/select.R b/R/select.R index 8fc21c7..bd03a43 100644 --- a/R/select.R +++ b/R/select.R @@ -155,7 +155,7 @@ fetchRecords <- function(conn, statement, params) { ret <- list() column_info <- NULL - silenceWarnings(c("length of NULL cannot be changed", "unrecognized MySQL field type", "unrecognized PostgreSQL field type", "(unknown (", "Decimal MySQL column"), { + silenceWarnings(c("length of NULL cannot be changed", "unrecognized MySQL field type", "unrecognized PostgreSQL field type", "unknown (", "Decimal MySQL column"), { statement <- addParams(conn, statement, params) res <- NULL