Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kajuberdut opened this issue Jun 2, 2017 · 0 comments
Open

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

kajuberdut opened this issue Jun 2, 2017 · 0 comments
Assignees

Comments

@kajuberdut
Copy link
Contributor

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

@kajuberdut kajuberdut self-assigned this Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant