I create a view in postgres sql with sql statement
CREATE OR REPLACE VIEW {ViewName} as
Select
.....
I am asking is there any way to create comments for columns in the view. After the view is created, it generates an error when a comment is added to a column :
ERROR: "{ViewName}" is not a table, composite type, or foreign table.
{ViewName}is an invalid identifier to begin with)