I need to create cached ts_vector column from jsonb value. I try to create a trigger
CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE
ON tags FOR EACH ROW EXECUTE PROCEDURE
tsvector_update_trigger(
tsv, 'pg_catalog.english', "translations#>>'{en,name}'"
);
But in a result I get an error
ERROR: column "translations#>>'{en,name}'" does not exist