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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: If an index depends on no columns of its table, give it a
Date: 2007-11-09 09:05:58
Message-ID: 3130.1194599158@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> I had understood the discussion to conclude that indexes that do not
> depend on any column of the table to not be allowed at all.

That was my first reaction too, but the point about unique-index behavior
refutes it. Constraining a table to have at most one row is useful.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2007-11-09 09:16:54 Re: Fix for stop words in thesaurus file
Previous Message Simon Riggs 2007-11-09 08:35:17 Re: pgsql: If an index depends on no columns of its table, give it a