You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use doltgres with PrismaJS and their built-in schema migration uses the current_setting function, which currently panics in doltgres.
This is the full query:
{"Type":"Parse","Name":"s1","Query":"SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = $1), version(), current_setting('server_version_num')::integer as numeric_version;","ParameterOIDs":null}
But these fail with the same error:
postgres=>SELECT current_setting('server_version_num')::integeras numeric_version;
ERROR: DoltgresHandler caught panic: interface conversion: interface {} is int64, not string (errno 1105) (sqlstate HY000)
postgres=>SELECT current_setting('server_version_num');
ERROR: DoltgresHandler caught panic: interface conversion: interface {} is int64, not string (errno 1105) (sqlstate HY000)
postgres=>SELECT current_setting('server_version_num')::integer;
ERROR: DoltgresHandler caught panic: interface conversion: interface {} is int64, not string (errno 1105) (sqlstate HY000)
Activity
[-]Implement `current_setting` function[/-][+]`current_setting('server_version_num')` errors[/+]