Skip to content

Commit

Permalink
Merge pull request freelawproject#4285 from hopperj/data-export-quote…
Browse files Browse the repository at this point in the history
…-character

Escaping quote character for data export (Issue 4283)
  • Loading branch information
mlissner authored Aug 7, 2024
2 parents bf33623 + bd96ffe commit 043c55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make_bulk_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ echo "Streaming ${lst[0]} to S3"
psql \
--command \
"set statement_timeout to 0;
COPY ${lst[0]} ${lst[1]} TO STDOUT WITH (FORMAT csv, ENCODING utf8, HEADER, QUOTE '`', FORCE_QUOTE *)" \
COPY ${lst[0]} ${lst[1]} TO STDOUT WITH (FORMAT csv, ENCODING utf8, HEADER, QUOTE \"\`\", FORCE_QUOTE *)" \
--quiet \
--host "$DB_HOST" \
--username "$DB_USER" \
Expand Down

0 comments on commit 043c55f

Please sign in to comment.