In Oracle we have
select dbms_assert.simple_sql_name(TEST) from dual
what will be the equivalent in postgresql ? I can't seem to find anywhere the answer.
If column is wrong in Oracle we get:
ORA-44003: invalid SQL name ORA-06512: at "SYS.DBMS_ASSERT", line 160
44003. 0000 - "invalid SQL name"
*Document: Yes
*Cause: The input parameter string was not a valid simple SQL name.
*Action: Check with the DBMS_ASSERT spec to verify that the parameter
string is a valid simple SQL name.