Skip to content

Commit

Permalink
fix: escape quote for PSQL update
Browse files Browse the repository at this point in the history
  • Loading branch information
nleconte-csgroup authored Oct 25, 2024
1 parent ac3cdf4 commit f3e9fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/rs-server-catalog-db/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data:
ON CONFLICT DO NOTHING;
UPDATE pgstac.stac_extensions
SET content='$(cat /opt/pgstack_json_schema/{{ join "_" (slice ( . | splitList "/" ) 3 ) }})'
SET content=\$EscapeQuote\$$(cat /opt/pgstack_json_schema/{{ join "_" (slice ( . | splitList "/" ) 3 ) }})\$EscapeQuote\$
WHERE url={{ . | squote }} ;
EOSQL
Expand Down

0 comments on commit f3e9fba

Please sign in to comment.