Re: Patch to add a primary key using an existing index

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Patch to add a primary key using an existing index
Дата
Msg-id AANLkTin3XHvfGS_Qw_Art1MTQRkdqnyC0A3VvuFNTpnE@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Patch to add a primary key using an existing index  (r t <pgsql@xzilla.net>)
Ответы Re: Patch to add a primary key using an existing index  (Josh Berkus <josh@agliodbs.com>)
Re: Patch to add a primary key using an existing index  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
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.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [PATCH] Revert default wal_sync_method to fdatasync on Linux 2.6.33+
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Patch to add a primary key using an existing index