How to check for null/empty/whitespace values with a single test in PostgreSQL
I would like to check an input (parameter) of a stored procedure if it has many spaces and empty, not just 1 space like so: ' ' '. I tried : IF column IS NULL or TRIM(column IS NULL) THEN…