| От | Ron |
|---|---|
| Тема | Re: Index scan does not return all the data |
| Дата | |
| Msg-id | 8be4b59a-482f-0eff-b271-223cd8dba19a@gmail.com обсуждение исходный текст |
| Ответ на | Index scan does not return all the data ("S. Bob" <sbob@quadratum-braccas.com>) |
| Список | pgsql-admin |
On 1/26/19 9:33 AM, S. Bob wrote: > Hi all; > > > we have a client that has run into an issue, they have a PK on an id > column and another unique index on the id and a timestamp. when we run a > select it selects one of several indexes, in some cases a non unique index > on a secondary ID, however when we do a pg_dump, or a CREATE TABLE x AS > select * from this table then we get many many duplicates that violate the > PK and the unique index. > > Thoughts? Sounds like a corrupt index. "REINDEX TABLE foo" and -- if not already -- update to the latest release of your version. -- Angular momentum makes the world go 'round.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера