agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
Vacumdb Command Problem
2+ messages / 2 participants
[nested] [flat]

* Vacumdb Command Problem
@ 2018-07-26 10:38  komala pelleti <p.komala@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: komala pelleti @ 2018-07-26 10:38 UTC (permalink / raw)
  To: pgsql-sql@lists.postgresql.org

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 ?

-- 
Thanks N Regards
Komala P
8147106141.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Vacumdb Command Problem
@ 2018-07-26 11:41  hubert depesz lubaczewski <depesz@depesz.com>
  parent: komala pelleti <p.komala@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: hubert depesz lubaczewski @ 2018-07-26 11:41 UTC (permalink / raw)
  To: komala pelleti <p.komala@gmail.com>; +Cc: pgsql-sql@lists.postgresql.org

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-07-26 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-07-26 10:38 Vacumdb Command Problem komala pelleti <p.komala@gmail.com>
2018-07-26 11:41 ` hubert depesz lubaczewski <depesz@depesz.com>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox