Skip to content

Commit

Permalink
corrige template. #149
Browse files Browse the repository at this point in the history
  • Loading branch information
0e1 committed Oct 4, 2023
1 parent 7e5516f commit 5efbb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maketemplates/common003_shp2pgsql.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ endif
{{/isGeojson}}
{{#isTxt2sql}}
{{^isUtf8}}
psql $(pg_uri_db) -c "SELECT ingest.copy_tabular_data( '$(sandbox)/{{orig_filename}}.unix_utf8.csv', '{{tabname}}'{{#charsetcopy}},'{{charsetcopy}}'{{/charsetcopy}}{{#delimiter}},'{{delimiter}}'{{/delimiter}} )"
psql $(pg_uri_db) -c "SELECT ingest.copy_tabular_data( '$(sandbox)/{{#orig_filename_with_extension}}{{orig_filename}}{{/orig_filename_with_extension}}{{^orig_filename_with_extension}}{{orig_filename}}.txt{{/orig_filename_with_extension}}', '{{tabname}}'{{#charsetcopy}},'{{charsetcopy}}'{{/charsetcopy}}{{#delimiter}},'{{delimiter}}'{{/delimiter}} )"
{{/isUtf8}}
{{#isUtf8}}
psql $(pg_uri_db) -c "SELECT ingest.copy_tabular_data( '$(sandbox)/{{#orig_filename_with_extension}}{{orig_filename}}{{/orig_filename_with_extension}}{{^orig_filename_with_extension}}{{orig_filename}}.txt{{/orig_filename_with_extension}}', '{{tabname}}'{{#charset}},'{{charset}}'{{/charset}}{{#delimiter}},'{{delimiter}}'{{/delimiter}} )"
Expand Down

0 comments on commit 5efbb7d

Please sign in to comment.