Example pgwui_copy configs
authorKarl O. Pinc <kop@karlpinc.com>
Thu, 29 Apr 2021 15:56:54 +0000 (10:56 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Thu, 29 Apr 2021 15:56:54 +0000 (10:56 -0500)
examples/etc/pgwui.ini
examples/misc/development.ini

index e4d900e51510d19dab37802ea2034a23bbe69b47..7fb9a2efb342b2f6f3991b62450238fa92980830 100644 (file)
@@ -151,6 +151,7 @@ pgwui.dry_run = False
 #
 # The default for some PGWUI components are:
 # pgwui.routes =
+#   pgwui_copy = /copy
 #   pgwui_logout = /logout
 #   pgwui_upload = /upload
 
@@ -323,6 +324,36 @@ pgwui.dry_run = False
 #   See pgwui_upload above for details.
 
 
+# pgwui_copy
+
+# pgwui.pgwui_copy =
+#   menu_label = 'copy -- Copy a Schema Between Databases'
+#
+#   default_source_db =  (See description)
+#     The default for the database from which data is copied.
+#     The default is the value of pgwui.default_db.
+#
+#   sensitive_db =   (See description)
+#     A list of databases (one per line) for which an extra
+#     confirmation step is required before alteration.  Comparisons
+#     are done in a case-insensitive fashion.  The default is the
+#     value of pgwui.default_db.  The setting "" (nothing after the =
+#     sign) means that no database requires additional confirmation
+#     before alteration.  Example:
+#           sensitive_dbs = scratch
+#                           scritch
+#
+#   default_target_db =
+#     The default for the database to which data is copied.  (Optional)
+#
+#   default_schema =
+#     The default for the name of the schema which is copied.  (Optional)
+#
+#   bin = /usr/bin
+#     Absolute path to the directory containing the pg_dump and pg_restore
+#     binaries.  (Optional)
+
+
 #
 # Pyramid configuration
 # https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
index b122e05698b3137f2098e737862fb0cf7d6e3dd3..0712b36902d25f180e73dc14e7ad0140250753c5 100644 (file)
@@ -155,6 +155,7 @@ pgwui.dry_run = False
 #
 # The default for some PGWUI components are:
 # pgwui.routes =
+#   pgwui_copy = /copy
 #   pgwui_logout = /logout
 #   pgwui_upload = /upload
 
@@ -331,6 +332,36 @@ pgwui.validate_hmac = False
 #   See pgwui_upload above for details.
 
 
+# pgwui_copy
+
+# pgwui.pgwui_copy =
+#   menu_label = 'copy -- Copy a Schema Between Databases'
+#
+#   default_source_db =  (See description)
+#     The default for the database from which data is copied.
+#     The default is the value of pgwui.default_db.
+#
+#   sensitive_dbs =  (See description)
+#     A list of databases (one per line) for which an extra
+#     confirmation step is required before alteration.  Comparisons
+#     are done in a case-insensitive fashion.  The default is the
+#     value of pgwui.default_db.  The setting "" (nothing after the =
+#     sign) means that no database requires additional confirmation
+#     before alteration.  Example:
+#           sensitive_dbs = scratch
+#                           scritch
+#
+#   default_target_db =
+#     The default for the database to which data is copied.  (Optional)
+#
+#   default_schema =
+#     The default for the name of the schema which is copied.  (Optional)
+#
+#   bin = /usr/bin
+#     Absolute path to the directory containing the pg_dump and pg_restore
+#     binaries.  (Optional)
+
+
 #
 # Pyramid configuration
 # https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html