Skip to content

PG8000 / Postgres errors on certain characters (UTF-8) #22

@kajuberdut

Description

@kajuberdut

Hypothesis emits certain characters that cause the following error when using pg8000 connector and a PostgreSQL database configured to encode in UTF-8:

sqlalchemy.exc.ProgrammingError: (pg8000.core.ProgrammingError) ('ERROR', 'ERROR', '22021', 'invalid byte sequence for encoding "UTF8"
: 0x00', 'wchar.c', '2017', 'report_invalid_encoding', '', '')

DB URL would look like: postgresql+pg8000://username:password@host:port/database

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions