Re: Non-Stored Generated Columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Non-Stored Generated Columns
Дата
Msg-id 2425903.1709147504@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Non-Stored Generated Columns  (Dominique Devienne <ddevienne@gmail.com>)
Ответы Re: Non-Stored Generated Columns
Re: Non-Stored Generated Columns
Список pgsql-general
Dominique Devienne <ddevienne@gmail.com> writes:
> Views can have foreign-keys?

Surely you'd put the FK on the underlying table.

> Generated view columns be indexed?

You want an index on a virtual column?  Sure, just build an expression
index (on the underlying table) that matches it.

I agree with Laurenz that it's hard to see much use-case here
that's not sufficiently covered already.

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Marcos Pegoraro
Дата:
Сообщение: Re: Documentation diff
Следующее
От: Dimitrios Apostolou
Дата:
Сообщение: Re: Orphan files filling root partition after crash