From: | amit sehas <cun23(at)yahoo(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Indexing question |
Date: | 2012-08-14 16:54:48 |
Message-ID: | 1344963288.3544.YahooMailClassic@web125305.mail.ne1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
In SQL, given a table T, with two fields f1, f2,
is it possible to create an index such that the same record is indexed in the index, once with field f1 and once with field f2. (I am not looking for a compound index in which the key would look like <f1, f2>, instead there should be two entries in the index <f1> and <f2>).
we have a few use cases for the above, perhaps we need to alter the schema somehow to accommodate the above,
any advice is greatly appreciated ..
thanks
From | Date | Subject | |
---|---|---|---|
Next Message | Wolfgang Keller | 2012-08-14 17:14:41 | Re: Visualize database schema |
Previous Message | Dann Corbit | 2012-08-14 16:21:09 | Re: Visualize database schema |
From | Date | Subject | |
---|---|---|---|
Next Message | David Johnston | 2012-08-14 17:19:47 | Re: Indexing question |
Previous Message | Wayne Cuddy | 2012-08-08 17:11:56 | Re: fsync debug messages in pgsql logs |