Re: Vacumdb Command Problem - Mailing list pgsql-sql

From hubert depesz lubaczewski
Subject Re: Vacumdb Command Problem
Date
Msg-id 20180726114152.pcaty4gegr2awziq@depesz.com
Whole thread Raw
In response to Vacumdb Command Problem  (komala pelleti <p.komala@gmail.com>)
List pgsql-sql
On Thu, Jul 26, 2018 at 04:08:55PM +0530, komala pelleti wrote:
> Hi
> I have vaccume one of the schema on basis of pct_dead count.
> 
> so my schema contains special character"_".
> 
> it is giving error saying that :
> 
> vacuumdb -d cidb -U postgres -t "test-services".monitoredresource;
> 
> vacuumdb: vacuuming of table "test-services.monitoredresource" in database
> "cidb" failed: ERROR:  syntax error at or near "-"
> 
> how to correct this ?

Try:
vacuumdb -d cidb -U postgres -t '"test-services".monitoredresource'

Best regards,

depesz



pgsql-sql by date:

Previous
From: komala pelleti
Date:
Subject: Vacumdb Command Problem
Next
From: Emiliano Amilcarelli
Date:
Subject: Fwd: test mail