HI, in my code, I found that the pgx pool cannot catch the error when the input value is invalid for an enum type.
Is this a bug or I am doing something wrong?
My DDL:
CREATE TYPE orch.test_status AS ENUM ('granted', 'not_granted');
CREATE TABLE IF NOT EXISTS orch.test_status_table (
permission_status orch.test_status default 'not_granted'
)
HI, in my code, I found that the pgx pool cannot catch the error when the input value is invalid for an enum type. Is this a bug or I am doing something wrong?
My DDL:
My test code