Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group