Re: Strange problem with create table as select * from table;
В списке pgsql-general по дате отправления:
| От | hubert depesz lubaczewski |
|---|---|
| Тема | Re: Strange problem with create table as select * from table; |
| Дата | |
| Msg-id | 20111103142141.GA21264@depesz.com обсуждение |
| Ответ на | Re: Strange problem with create table as select * from table; (Alban Hertroys <haramrae@gmail.com>) |
| Список | pgsql-general |
On Thu, Nov 03, 2011 at 03:19:36PM +0100, Alban Hertroys wrote:
> On 3 November 2011 15:15, hubert depesz lubaczewski <depesz@depesz.com> wrote:
> >> Do the xobject_id values have other negative numbers or is -1 just a special
> >> case? The only thing I can think of is a corrupted index on xobject_id.
> >
> > minimal xobject_id in source table is 1000.
> >
> > index on xobject_id might be corrupted, but it doesn't explain that I
> > don't see duplicates with group_by/having query on xobjects, which uses
> > seqscan:
>
> Actually, it does. A sequential scan doesn't use the index.
sure. but so isn't create table as.
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера