Question: Does Postgres support virtual columns?

Question

Does Postgres support virtual columns?

Answers 0
Added at 2016-11-24 09:11
Tags
Question
ALTER TABLE formation ADD p varchar(20) GENERATED ALWAYS AS (DAT_FM -> '$.position') VIRTUAL;
ALTER TABLE formation ADD c decimal(12,3) GENERATED ALWAYS AS (DAT_FM -> '$.c') VIRTUAL;

Does Postgres support to create a virtual column like MySQL?

Answers to

Does Postgres support virtual columns?

Source Show
◀ Wstecz