Skip to content

Commit 045f1f6

Browse files
Peter080202ThoSap
andauthored
Only comment out SET statements at the start of a line (#13)
* Only comment out SET statements at the start of a line * Update setup-postgres-preview-schema/job-template.yml Co-authored-by: Thomas Sapelza <thomas.sapelza@aboutbits.it> --------- Co-authored-by: Thomas Sapelza <thomas.sapelza@aboutbits.it>
1 parent b4b6497 commit 045f1f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup-postgres-preview-schema/job-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
echo "Modifying dump file..."
4040
sed -i preview-dump.sql \
4141
-e "s/\"${BASE_SCHEMA}\"/\"${PREVIEW_SCHEMA_NAME}\"/g" \
42-
-e 's/SET /--SET /g' \
42+
-e 's/^SET /--SET /g' \
4343
-e 's/SELECT pg_catalog/--SELECT pg_catalog/g' \
4444
-e 's/--SELECT pg_catalog.setval/SELECT pg_catalog.setval/g'
4545

0 commit comments

Comments
 (0)