Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions R/default.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ postgresHasDefault <- function(...) {
error = function(...) {
message(
"Could not initialise default postgres database. If postgres is running\n",
"check that the environment variables PGHOST, PGPORT, \n",
"PGUSER, PGPASSWORD, and PGDATABASE, are defined and\n",
"point to your database."
"check that the connection works with default libpq settings.\n",
"The default connection uses the PGHOST, PGPORT, PGUSER, PGPASSWORD,\n",
"and PGDATABASE environment variables. If unset, libpq defaults are\n",
"used (local connection, port 5432, OS user name).\n",
"See https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS"
)
FALSE
}
Expand Down