| От | Peter Eisentraut |
|---|---|
| Тема | Re: Patch to add a primary key using an existing index |
| Дата | |
| Msg-id | 1291576171.10677.2.camel@vanquo.pezone.net обсуждение |
| Ответ на | Re: Patch to add a primary key using an existing index (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: Patch to add a primary key using an existing index
|
| Список | pgsql-hackers |
On fre, 2010-12-03 at 15:27 -0500, Robert Haas wrote: > On Fri, Dec 3, 2010 at 2:56 PM, r t <pgsql@xzilla.net> wrote: > > What exactly was the objection to the following --> > > ALTER TABLE table_name ADD PRIMARY KEY (column_list) USING index_name; > > Is the objection that you might have been trying to specify a constraint > > named "using" ? I'm willing to make that option more difficult. :-) > > I think it's that someone might expect the word after USING to be the > name of an index AM. That could be avoided by writing USING INDEX <name>
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера