Skip to content

Commit

Permalink
Update postgres bp to work with postgresql 13 (#1116)
Browse files Browse the repository at this point in the history
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
  • Loading branch information
PrasadG193 authored Oct 12, 2021
1 parent 8aca330 commit b5d99b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/stable/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 "postgresql-password" | toString }}'
BACKUP_LOCATION={{ .ArtifactsIn.cloudObject.KeyValue.backupLocation }}
kando location pull --profile '{{ toJson .Profile }}' --path "${BACKUP_LOCATION}" - | gunzip -c -f | 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 b5d99b6

Please sign in to comment.