has_column_privilege ( [ user name or oid, ] table text or oid, column text or smallint, privilege text ) → booleanDoes user have privilege for the specified table column? This succeeds either if the privilege is held for the whole table, or if there is a column-level grant of the privilege for the column. The column can be specified by name or by attribute number (
pg_attribute.attnum). Allowable privilege types are SELECT, INSERT, UPDATE, and REFERENCES.