| От | Alvaro Herrera |
|---|---|
| Тема | Re: How to attach partition with primary key |
| Дата | |
| Msg-id | 202406180946.d2f3oktuoyps@alvherre.pgsql обсуждение |
| Ответ на | How to attach partition with primary key (Philipp Faster <phfaster@gmail.com>) |
| Ответы |
Re: How to attach partition with primary key
|
| Список | pgsql-general |
On 2024-Jun-18, Philipp Faster wrote: > As I understand, PostgreSQL refuses to use existing primary key for > some reason and tries to create its own as a children of > "Transactions" table's primary key. Yeah. Your case sounds like the primary key in the partitioned table has some slight definition difference from the stock one, which makes the one you create in the partition not an exact match. I'd suggest to look at what "pg_dump -s" emits as definition of the table with a magnifying glass to search for such differences. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера