Gus Power
Gus Power
I am seeing this on mac using v0.35.2: ``` [2025-07-07T08:54:52.244Z ERROR sqlpage::webserver::database::sql_to_json] Failed to decode alloc::string::String value: invalid utf-8 sequence of 1 bytes from index 6 [2025-07-07T08:54:52.244Z ERROR sqlpage::webserver::database::sql_to_json] Failed...
OK so this is really wild: ``` select 'table' as component; select '00:00:00'::interval; select '1 day 2 hours'::interval; select age(CURRENT_TIMESTAMP, '2024-07-11T00:09:00+00:00'::timestamp); select age(CURRENT_TIMESTAMP, '2024-10-25 00:09:12.000000'::timestamp); ``` works perfectly. ``` SELECT...
``` CREATE TEMP TABLE IF NOT EXISTS issue AS SELECT '1' AS issue_id, '2024-07-11 00:09:00.000000'::timestamp AS created; SELECT 'table' AS component; -- WORKS SELECT * FROM issue; -- WORKS SELECT...
Oh wow nicely done! > Postgres returns textual interval representations for static queries, and binary values for parametrized queries. That is pretty wild! Easy workaround - thank you @lovasoa !