Re: Index of expression over table row or column

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Index of expression over table row or column
Дата
Msg-id fb83431b59299474a44353f70f552c7fd34e73f7.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Index of expression over table row or column  (Steve Lau <stevelauc@outlook.com>)
Ответы Re: Index of expression over table row or column
Список pgsql-docs
On Wed, 2024-10-16 at 04:00 +0000, Steve Lau wrote:

> Regarding Tom’s reply, IMHO, “LOWER(last_name || ' ' || first_name)” is still an
> expression over table columns? Would you like to elaborate on it a bit?

Well, a table row consists of columns.  So something that depends on or uses several
columns can be said to be "on the table row".  I'd say that the documentation is
correct, but if it gives you trouble, perhaps it should be improved.

And what would you say about this (silly) example:

  CREATE TABLE x (a integer, b integer);
  CREATE INDEX ON x(hash_record(x));

Yours,
Laurenz Albe



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