Have literal_column_headings values be those of boolean_choice
authorKarl O. Pinc <kop@karlpinc.com>
Sat, 23 Jan 2021 20:26:05 +0000 (14:26 -0600)
committerKarl O. Pinc <kop@karlpinc.com>
Sat, 23 Jan 2021 20:37:50 +0000 (14:37 -0600)
examples/etc/pgwui.ini
examples/misc/development.ini

index 1dae897a1b965b2fd1b8cbdc482fff0845a287b3..b1740141d983d818c5f396ccb1c1e6cd22b0ec5b 100644 (file)
@@ -217,10 +217,13 @@ pgwui.dry_run = False
 # literal_column_headings
 # Take uploaded column headings literally?
 # The available choices are:
-#   on   The file's column headings, as typed, are the table's column names.
-#   off  The file's column headings are case-insensitive.
-#   ask  Put a "Take Column Headings Literally" checkbox on the upload screen.
-# Optional setting.  The default is "off".
+#   yes-always    The file's column headings, as typed, are the table's
+#                 column names.
+#   choice-yes    Present a checkbox, default to "yes".
+#   choice-no     Present a checkbox, default to "no".
+#   no-never      The file's column headings are given to PostgreSQL as-is,
+#                 and so PostgreSQL normalizes them to lower case.
+# Optional setting.  The default is "no-never".
 #
 # Caution: Non-ASCII column names, particularly in the Turkish locale,
 # are not guaranteed to be case-insensitive.
@@ -239,12 +242,12 @@ pgwui.dry_run = False
 # pgwui_bulk_upload
 
 #pgwui.pgwui_bulk_upload =
-#    literal_column_headings = off
+#    literal_column_headings = no-never
 #    menu_label = bulk_upload -- Upload Many Files Into PostgreSQL
 #    map_file = contents.yml
 #    trim = choice-yes
 #
-# literal_column_headings = off
+# literal_column_headings = no-never
 #   Take uploaded column headings literally?
 #   See pgwui_upload above for details.
 #
index b976446cc6be6058ce81b1ca2a474042ca232254..684a49fecc7f38218ff5253c7fbe063b8c3d035d 100644 (file)
@@ -215,17 +215,20 @@ pgwui.validate_hmac = False
 # pgwui_upload
 
 #pgwui.pgwui_upload =
-#    literal_column_headings = off
+#    literal_column_headings = no-never
 #    menu_label = upload -- Upload File Into Database
 #    trim = choice-yes
 #
 # literal_column_headings
 # Take uploaded column headings literally?
 # The available choices are:
-#   on   The file's column headings, as typed, are the table's column names.
-#   off  The file's column headings are case-insensitive.
-#   ask  Put a "Take Column Headings Literally" checkbox on the upload screen.
-# Optional setting.  The default is "off".
+#   yes-always    The file's column headings, as typed, are the table's
+#                 column names.
+#   choice-yes    Present a checkbox, default to "yes".
+#   choice-no     Present a checkbox, default to "no".
+#   no-never      The file's column headings are given to PostgreSQL as-is,
+#                 and so PostgreSQL normalizes them to lower case.
+# Optional setting.  The default is "no-never".
 #
 # Caution: Non-ASCII column names, particularly in the Turkish locale,
 # are not guaranteed to be case-insensitive.
@@ -244,12 +247,12 @@ pgwui.validate_hmac = False
 # pgwui_bulk_upload
 
 #pgwui.pgwui_bulk_upload =
-#    literal_column_headings = off
+#    literal_column_headings = no-never
 #    menu_label = bulk_upload -- Upload Many Files Into PostgreSQL
 #    map_file = contents.yml
 #    trim = choice-yes
 #
-# literal_column_headings = off
+# literal_column_headings = no-never
 #   Take uploaded column headings literally?
 #   See pgwui_upload above for details.
 #