--- Mark Steben <[EMAIL PROTECTED]> wrote:

>  select 45198705,false,id,next_avail_senddate(id,date(send_date)) from 
>  (select
> id,timeclause_combine(date(estmileage_timeclause(service_date,mileage,last_s
> ervice_date,last_mileage,
>    date_of_purchase,year_purchased,10750,cid,serindex_date,id)),
>    date(date_larger(date(coalesce(date_of_purchase,
> '1900-01-01')+timespan('45 days')),
>    date(service_date+timespan('44 days')))),
>    date(null),date(create_date),9,false) as send_date,last_send

IIUC, indexs are only used in JOINS and WHERE conditions.  I don't see either 
of those in your
query.

Regards,
Richard Broersma Jr.

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

Reply via email to