Bläddra i källkod

Muudetud 'construct_ogr2ogr_PG_connect_str'.

Ardo Kubjas 5 år sedan
förälder
incheckning
6816ad3de4
2 ändrade filer med 2 tillägg och 4 borttagningar
  1. 2 3
      R/construct_ogr2ogr_PG_connect_str.R
  2. 0 1
      man/construct_ogr2ogr_PG_connect_str.Rd

+ 2 - 3
R/construct_ogr2ogr_PG_connect_str.R

@@ -12,13 +12,12 @@
 #'
 #'
 #' conf <- ruut::get_config()
 #' conf <- ruut::get_config()
 #' construct_ogr2ogr_PG_connect_str(conf = conf)
 #' construct_ogr2ogr_PG_connect_str(conf = conf)
-#'
 #' }
 #' }
 construct_ogr2ogr_PG_connect_str <- function(conf = NULL) {
 construct_ogr2ogr_PG_connect_str <- function(conf = NULL) {
   if (is.null(conf)) conf <- ruut::get_config()
   if (is.null(conf)) conf <- ruut::get_config()
   PG <- sprintf(
   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
   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()
 conf <- ruut::get_config()
 construct_ogr2ogr_PG_connect_str(conf = conf)
 construct_ogr2ogr_PG_connect_str(conf = conf)
-
 }
 }
 }
 }
 \seealso{
 \seealso{