What is the data type of column\_name in information\_schema.columns?
i tried this but didnt get
code:

```
CREATE OR REPLACE FUNCTION table_name_sunitest118(
    tbl character varying)

    RETURNS TABLE(column_name text) 
    LANGUAGE 'plpgsql'

AS $BODY$

BEGIN

RETURN QUERY  

EXECUTE FORMAT('SELECT column_name FROM information_schema.columns where table_name=$1')

using tbl;

  END
  $BODY$;

```