Re: How to Return Unique Elements From An Array? - Mailing list pgsql-sql

From Haller Christoph
Subject Re: How to Return Unique Elements From An Array?
Date
Msg-id 200110081445.QAA03217@rodos
Whole thread Raw
In response to How to Return Unique Elements From An Array?  (Bhuvan A <bhuvansql@yahoo.com>)
List pgsql-sql
Have you tried already 
SELECT DISTINCT <your_array> FROM <your_table> ; 
If you receive an error message like 
Unable to identify an ordering operator ... 
Refer to 'Server Programming' section Extending SQL: Operators 
to learn about creating your own operators for array comparison 
Or search the mailing-list for similar requests. 
Regards, Christoph 
> 
> hello all,
> 
> how can we get unique elements from an array(of any type)?
> 
> Regards,
> Bhuvaneswar.



pgsql-sql by date:

Previous
From: "Colin 't Hart"
Date:
Subject: Re: Search by longitude/latitude
Next
From: "Joe Conway"
Date:
Subject: Re: Search by longitude/latitude