? Has anybody got good ideas for solve this problem?
This construction came to my mind, because I tried to solve my another
question:
http://groups.google.co.hu/group/pgsql.performance/browse_thread/thread/c7aec005f4a1f3eb/83fa0053cad33dea
Thanks your ideas!
Regards,
Antal Attila
Hi!
What is the simplest solution for this query type:
SELECT * FROM tablename ORDER BY col1 ASC, col2 DESC;
In our experience, postgres cannot use a multi-colum index on (col1,
col2) in this situation. Is custom operator class the easiest solution,
which can solve the reverse indexing on
#x27;asd%' working as ((col >= 'asd'::text) AND (col <
'ase'::text))
I'd like to see the next:
col /~~ 'asd%'working as ((col />= 'asd'::text) AND (col /<
'ase'::text))
Can somebody help us?
Thanks in advance.
Antal
Hi!
We have a complex problematic area. What is the simplest solution for
the next query type:
SELECT * FROM tablename ORDER BY col1 ASC, col2 DESC;
In our experience, postgres cannot use a multi-colum index on (col1,
col2) in this situation, becouse there are different directions after