Fixed Unicode character issue causing error on Python2 environment. Fixes #5279

This commit is contained in:
Murtuza Zabuawala
2020-03-20 15:17:45 +05:30
committed by Akshay Joshi
parent 26d0a3e5cb
commit a7ba446703
3 changed files with 4 additions and 3 deletions

View File

@@ -495,7 +495,7 @@ class PartitionsView(BaseTableView, DataTypeReader, VacuumSettings,
partition_data['default_partition_header'] = \
'-- Create a default partition to prevent the data loss.\n' \
'-- It helps when none of the partitions of a relation\n' \
'-- matches the inserted data.'
'-- matches the inserted data.'
# Create temporary name for partitions
for item in source_data['partitions']: