By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 1,007 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

select distinct with datatype point

P: 1

I created the following table:

z int4,
pos point

My SQL-statement ist: "SELECT DISTINCT * from ttable;".

After executing this I get the following error message:
ERROR: could not identify an ordering operator for type point
TIP: use an explicit ordering operator or modify the query

I have find out that I have to write an operator class for the datatype point. Has anyone done it or give me further hints?
Nov 9 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.