Re: [PERFORM] Sort and index

2005-04-20 Thread Andrei Gaspar
Michael Fuhr wrote: On Mon, Apr 18, 2005 at 10:44:43AM -0500, Dave Held wrote: I thought that an index can be used for sorting. I'm a little confused about the following result: create index OperationsName on Operations(cOperationName); explain SELECT * FROM Operations ORDER BY cOperationName;

[PERFORM] Sort and index

2005-04-18 Thread Andrei Gaspar
Hi, I thought that an index can be used for sorting. I'm a little confused about the following result: create index OperationsName on Operations(cOperationName); explain SELECT * FROM Operations ORDER BY cOperationName; QUERY PLAN

Re: [PERFORM] Sort and index

2005-04-18 Thread Andrei Gaspar
Thanks for the quick response Andrei Dave Held wrote: -Original Message- From: Andrei Gaspar [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 10:36 AM To: pgsql-performance@postgresql.org Subject: [PERFORM] Sort and index I thought that an index can be used for sorting. I'm a little