We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
create table mydiscord_guild ( id serial not null constraint mydiscord_guild_pkey primary key, discord_id text not null constraint mydiscord_guild_uid_key unique, name text not null constraint mydiscord_guild_name_key unique, trigger varchar(1) not null );
On insert attempt I get this error even though the field is bigint and I guess should have been processed by the int8_encode instead:
int8_encode
asyncpg.exceptions.DataError: invalid input for query argument $1: 435075722181083147 (value out of int32 range)
Possibly related to #316 , but in this case it's not a custom datatype.
Possibly related to #279, but it's not negative.
The text was updated successfully, but these errors were encountered:
Please provide a code snippet.
Sorry, something went wrong.
return await conn.execute( '''INSERT INTO mydiscord_guild VALUES ($1, $2, $3);''', discord_id, name, trigger, )
Wait a sec, let me check something. I think I might be trying to put discord_Id into id field.
discord_Id
id
Yep, that's exactly what's happening. I need to sleep.
Sorry for taking your time... =|
No branches or pull requests
the issue with a local PostgreSQL install?: Don't use, reproduced locally.
uvloop?: n/a
On insert attempt I get this error even though the field is bigint and I guess should have been processed by the
int8_encode
instead:Possibly related to #316 , but in this case it's not a custom datatype.
Possibly related to #279, but it's not negative.
The text was updated successfully, but these errors were encountered: