On Tue, 2003-08-26 at 22:32, Rudy Koento wrote:
> Hi, I've created an index but it's not being used by
> postgresql when doing a query.  But doing an "explain
> analyze" shows that with index, it's faster.  Here's
> the output:
[snip]
EXPLAIN ANALYZE SELECT S.* FROM sales S, staff ST
WHERE S.staff_no=ST.staff_no AND ST.name='Rudy';
[snip]

Are S.staff_no and ST.staff_no the same data type?

-- 
-----------------------------------------------------------------
Ron Johnson, Jr. [EMAIL PROTECTED]
Jefferson, LA USA

"For me and windows it became a matter of easy to start with, 
and becoming increasingly difficult to be productive as time 
went on, and if something went wrong very difficult to fix, 
compared to linux's large over head setting up and learning the 
system with ease of use and the increase in productivity 
becoming larger the longer I use the system."
Rohan Nicholls , The Netherlands


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to