Переглянути джерело

Muudetud 'construct_ogr2ogr_PG_connect_str'.

Ardo Kubjas 5 роки тому
батько
коміт
6816ad3de4

+ 2 - 3
R/construct_ogr2ogr_PG_connect_str.R

@@ -12,13 +12,12 @@
 #'
 #' conf <- ruut::get_config()
 #' construct_ogr2ogr_PG_connect_str(conf = conf)
-#'
 #' }
 construct_ogr2ogr_PG_connect_str <- function(conf = NULL) {
   if (is.null(conf)) conf <- ruut::get_config()
   PG <- sprintf(
-    "\"PG:dbname='%s' host=%s port=%d user='%s' password='%s' sslmode=%s active_schema=%s\" ",
-    conf$dbname, conf$host, conf$port, conf$user, conf$password, conf$sslmode, conf$schema
+    "\"PG:dbname='%s' host=%s port=%d user='%s' password='%s' sslmode=%s \" ",
+    conf$dbname, conf$host, conf$port, conf$user, conf$password, conf$sslmode
   )
   PG
 }

+ 0 - 1
man/construct_ogr2ogr_PG_connect_str.Rd

@@ -21,7 +21,6 @@ See funktsioon konstrueerib 'ogr2ogr' käsus kasutatava fraasi, mis on vajalik a
 
 conf <- ruut::get_config()
 construct_ogr2ogr_PG_connect_str(conf = conf)
-
 }
 }
 \seealso{