I try connect to my table in postgres.
Here screen of my db.
So i need dbo.social and table profiles. So to do this, i try
library(RPostgres)
library(DBI)
pw<- {
"1234"
}
con <- dbConnect(RPostgres::Postgres()
, host='1.2.3.4.'
, port='5432'
, dbname='social'
, user='analyst'
, password=pw)
#rm(pw) # removes the password
dbExistsTable(con, "social")
and the resutl
[1] FALSE
why false, i marked as black line that it exists.
so
> dbListTables(con)
[1] "cache" "available_permission_modules"
[3] "available_permissions" "counters"
[5] "permissions" "group_direction"
[7] "jobs" "oauth_auth_codes"
[9] "oauth_access_tokens" "oauth_refresh_tokens"
[11] "permissions_rules" "permissions_rule_user"
[13] "oauth_clients" "oauth_personal_access_clients"
[15] "users" "directions"
[17] "themes" "profiles_without_rating"
[19] "failed_jobs" "model_has_permissions"
[21] "regions_oktmo" "ch_profiles"
[23] "user_reports" "roles"
[25] "migrations" "crime_minor"
[27] "governments" "mapping_candidates"
[29] "password_resets" "responsible"
[31] "spatial_ref_sys" "model_has_roles"
[33] "population" "role_has_permissions"
[35] "geo_point" "geo_polygon"
[37] "crime_all" "geography_columns"
[39] "geometry_columns" "raster_columns"
[41] "raster_overviews" "schools"
[43] "post_grabber"
Why in list, there is no social.profiles_bstms?
How can i get social.profiles_bstms tables to work with it.