Received: from feivel.fam-meskes.de (pC19EBED0.dip0.t-ipconnect.de [193.158.190.208]) by hub.org (8.9.3/8.9.3) with ESMTP id GAA07832 for ; Tue, 30 May 2000 06:32:32 -0400 (EDT) (envelope-from michael@fam-meskes.de) Received: by feivel.fam-meskes.de (Postfix, from userid 1000) id E2DF22BD30; Tue, 30 May 2000 10:23:37 +0200 (CEST) Date: Tue, 30 May 2000 10:23:37 +0200 From: Michael Meskes To: Jaspreet Singh Cc: pgsql-interfaces@postgresql.org Subject: Re: Embedded Vacuum sql Message-ID: <20000530102337.A2904@fam-meskes.de> Mail-Followup-To: Jaspreet Singh , pgsql-interfaces@postgresql.org References: <026601bfc97a$054f9d40$e8fea0cc@noida.hclt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.9i In-Reply-To: <026601bfc97a$054f9d40$e8fea0cc@noida.hclt.com>; from jaspreet@noida.hclt.com on Mon, May 29, 2000 at 07:57:29PM +0530 X-Archive-Number: 200005/95 On Mon, May 29, 2000 at 07:57:29PM +0530, Jaspreet Singh wrote: > I am a developing a PGE application in 6.5.3 using ecpg and libpq. However > I am unable to Vacuum Analyze the tables using embedded sql. But the same > command works from the prompt through vacuumdb comand. This I detect while What exactly doesn't work with embedded sql? I only tried calling vacuum without analyse. And that worked. > query. My query takes 1 hr if vacuum hasn't been done on the database. I > use the following command :- "EXEC SQL VACUUM ANALYZE Kindly Does ECPG bark on this command? Or is it incorrectly executed? What happens? Michael -- Michael Meskes Michael@Fam-Meskes.De Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!