Re: index unique

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: index unique
Дата
Msg-id 20210612232426.GA28500@hjp.at
обсуждение исходный текст
Ответ на Re: index unique  (Marc Millas <marc.millas@mokadb.com>)
Список pgsql-general
On 2021-06-11 14:37:57 +0200, Marc Millas wrote:
> anyway, my original post was about the fact that we must create a PK based on
> some kind of work around the limited btree length behaviour thus creating an
> index that will never be of any use, just for technical reasons.

Actually, that index will be used, and it will be used every time you
update, insert, or delete a row - by the logical replication system
which has to identify the affected row(s) on the secondary system.

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

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

Предыдущее
От: Vijaykumar Jain
Дата:
Сообщение: Re: How to generate file from postgres data
Следующее
От: Avi Weinberg
Дата:
Сообщение: Notify When Streaming Replication Failover Occurred (slave promoted to master).