Search Postgresql Archives

Re: list of index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

Hi ,

 

I have done that. The important point is obtaining the “sort order” of each column in the index. Specially multi column index.

 

Are there no views?

How does the engine handle sort order of a multi column index?!!

From what I have seen it is rather complicated in postgres.

 

Any suggestion would be very welcome.  Many Thanks.

 

 

From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of Szymon Guz
Sent: 15 August 2014 15:32
To: farjad.farid@xxxxxxxxxxxxxxxxx
Cc: PostgreSQL
Subject: Re: list of index

 

On 15 August 2014 16:23, FarjadFarid(ChkNet) <farjad.farid@xxxxxxxxxxxxxxxxx> wrote:

Hi ,

 

On a Postgresql database i like to obtain (using an sql statement) the list of all user defined indexes and their details specially the column "order by" sort order. e.g. ASC or DESC. Any help would be much appreciated.  

 

 

 

Hi,
take a look at: select * from pg_indexes;


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux