Skip to content

Commit

Permalink
Only replace LOCALE with LC_COLLATE (#1796)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavannd1 authored Dec 16, 2022
1 parent e2bb2b0 commit 9b761d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/postgresql/postgres-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ actions:
export PGUSER='postgres'
export PGPASSWORD='{{ index .Phases.pgRestore.Secrets.pgSecret.Data "postgres-password" | toString }}'
BACKUP_LOCATION={{ .ArtifactsIn.cloudObject.KeyValue.backupLocation }}
kando location pull --profile '{{ toJson .Profile }}' --path "${BACKUP_LOCATION}" - | gunzip -c -f | sed 's/LOCALE/LC_COLLATE/' | psql -q -U "${PGUSER}"
kando location pull --profile '{{ toJson .Profile }}' --path "${BACKUP_LOCATION}" - | gunzip -c -f | sed 's/"LOCALE"/"LC_COLLATE"/' | psql -q -U "${PGUSER}"
delete:
inputArtifactNames:
- cloudObject
Expand Down

0 comments on commit 9b761d8

Please sign in to comment.