Default to single quotes when exporting to Postgres

See:

brianb/mdbtools#119
brianb/mdbtools#128
This commit is contained in:
Evan Miller 2020-08-05 18:27:48 -04:00
parent aecee0e594
commit cac3f7aca5

View File

@ -138,7 +138,9 @@ main(int argc, char **argv)
/* Process options */
if (quote_char)
quote_char = escapes(quote_char);
else
else if (insert_dialect && !strcmp(insert_dialect, "postgres"))
quote_char = g_strdup("'");
else
quote_char = g_strdup("\"");
if (delimiter)