Skip to content

COMMENT ON COLUMN returns error for view #194

Closed
@kyleconroy

Description

@kyleconroy

Related to #193, #191

This breaks if one of your comments is on a view.

CREATE TABLE users (name TEXT);

CREATE VIEW harrys AS
  SELECT name
  FROM users
  WHERE name ILIKE '%harry%';

COMMENT ON harrys.name IS 'Harry's name';

relation "harrys" does not exist

Originally posted by @maxhawkins in #191 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions