System indexes are never unique indexes( was RE: [HACKERS] mdnblocks is an amazing time sink in huge relations)
В списке pgsql-hackers по дате отправления:
| От | Hiroshi Inoue |
|---|---|
| Тема | System indexes are never unique indexes( was RE: [HACKERS] mdnblocks is an amazing time sink in huge relations) |
| Дата | |
| Msg-id | NDBBIJLOILGIKBGDINDFMEIBCAAA.Inoue@tpf.co.jp обсуждение |
| Ответ на | RE: [HACKERS] mdnblocks is an amazing time sink in huge relations ("Hiroshi Inoue" <Inoue@tpf.co.jp>) |
| Ответы |
Re: System indexes are never unique indexes( was RE: [HACKERS] mdnblocks
is an amazing time sink in huge relations)
|
| Список | pgsql-hackers |
> > > > After a thought,I propose the following solution. > > > > 1. mdcreate() couldn't create existent relation files. > > If the existent file is of length zero,we would overwrite > > the file.(seems the comment in md.c says so but the > > code doesn't do so). > > If the file is an Index relation file,we would overwrite > > the file. > > > > This may allow to CREATE TABLE simultaneously for the > same table name. I would change to check the existence As I was afraid,2 tables of a same name could be made. After a short investigating,I found that system indexes are never unique indexes. Why ? Without duplicate index check,it's very difficult to prevent objects from having same name. Comments ? Hiroshi Inoue Inoue@tpf.co.jp
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера