Re: pgsql: If an index depends on no columns of its table, give it a

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: pgsql: If an index depends on no columns of its table, give it a
Дата
Msg-id 20071110204014.GR3910@fetter.org
обсуждение исходный текст
Ответ на Re: pgsql: If an index depends on no columns of its table, give it a  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-committers
On Sat, Nov 10, 2007 at 07:31:39PM +0000, Simon Riggs wrote:
> On Sat, 2007-11-10 at 11:22 -0500, Tom Lane wrote:
> > Simon Riggs <simon@2ndquadrant.com> writes:
> > > Constants in indexes are just a strangeness we don't need.
> >
> If I invented zero-column tables

You don't have to.

CREATE TABLE foo();

already works.  As I understand it, this is there to allow people to
rearrange tables completely--drop all the columns and replace them,
for example--and not have that fail.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

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

Предыдущее
От: mkz@pgfoundry.org (User Mkz)
Дата:
Сообщение: plproxy - plproxy: relnotes for 2.0.3
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: pgsql: If an index depends on no columns of itstab le, give it a