Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fieef-0003Iw-23 for pgsql-sql@arkaria.postgresql.org; Thu, 26 Jul 2018 11:42:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fieed-0006bR-7l for pgsql-sql@arkaria.postgresql.org; Thu, 26 Jul 2018 11:41:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fieec-0006bK-Rc for pgsql-sql@lists.postgresql.org; Thu, 26 Jul 2018 11:41:59 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fieeZ-00068F-WB for pgsql-sql@lists.postgresql.org; Thu, 26 Jul 2018 11:41:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y3zas5KvvRMNu2hREi21ycho/hzdtDzknWm0diM1HV0=; b=lTlhj2eYKvISPub6rqLsxGgfBT KHVRQM+aZEtPu56ugV8R+16dc5wdEng5HetWUr7Eh2c9x3MTgkJ+DUIwbsYwWK80jEt9CEwvDCFRh TZRzqRwSJGz3xqVGdXIzfIF8jzibrr8d5TMBLSiVg8beid4cuBHdxNBqCGSkdtXKwtyU=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.89) (envelope-from ) id 1fieeW-00089Y-RD; Thu, 26 Jul 2018 13:41:52 +0200 Date: Thu, 26 Jul 2018 13:41:52 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: komala pelleti Cc: pgsql-sql@lists.postgresql.org Subject: Re: Vacumdb Command Problem Message-ID: <20180726114152.pcaty4gegr2awziq@depesz.com> Reply-To: depesz@depesz.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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