Re: How to find out about index

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Savita <savita(at)india(dot)hp(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to find out about index
Date: 2002-10-08 14:12:03
Message-ID: 1689.1034086323@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Savita <savita(at)india(dot)hp(dot)com> writes:
> When I type the command
> CYCLE4#EXPLAIN ANALYZE
> CYCLE4# select * from os_customer_master where OUTSOURCER_LEGACY_CUSTOMER_ID='66';
> why I get the error
> ERROR: parser: parse error at or near "ANALYZE"

In that case you must be running PG 7.1 or older. EXPLAIN's ANALYZE
option is new in 7.2.

This will also mean you need to say "VACUUM ANALYZE" to update the
planner statistics, not just "ANALYZE" as I suggested in my previous
message.

On the whole I'd recommend updating to PG 7.2.3 instead.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erwan DUROSELLE 2002-10-08 14:28:39 Rép. : Re: Hot Backup
Previous Message Justin Clift 2002-10-08 14:08:45 Re: Rép. : Re: Hot Backup