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

Postgres binary Type #77

Closed
forrest-akin opened this issue Jul 30, 2021 · 2 comments
Closed

Postgres binary Type #77

forrest-akin opened this issue Jul 30, 2021 · 2 comments

Comments

@forrest-akin
Copy link

The mapping for ColumnType::Binary in PostgresQueryBuilder.prepare_column_type() maps to a binary type. This doesn't appear to map to any documented type in postgres (see Table 8.1 Data Types). It's unclear if this is a mistake or just an undocumented type alias (pg mentions there are undocumented type aliases). Could this be updated to use a documented type? Since this takes an optional length, maybe this is meant to be bit? Possibly bytea, but that doesn't take a length.

@tyt2y3
Copy link
Member

tyt2y3 commented Aug 1, 2021

Yes you are right. I think bytea is the intended type name.

tyt2y3 added a commit that referenced this issue Aug 1, 2021
@tyt2y3
Copy link
Member

tyt2y3 commented Aug 8, 2021

0.12.9

@tyt2y3 tyt2y3 closed this as completed Aug 8, 2021
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

2 participants