Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZGQcj-00025k-EM for pgsql-bugs@arkaria.postgresql.org; Sat, 18 Jul 2015 11:49:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZGQci-000667-6q for pgsql-bugs@arkaria.postgresql.org; Sat, 18 Jul 2015 11:49:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZGQcg-00065g-Dd for pgsql-bugs@postgresql.org; Sat, 18 Jul 2015 11:49:42 +0000 Received: from boipeva.ensmp.fr ([194.214.158.101]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZGQcd-0000z6-0x for pgsql-bugs@postgresql.org; Sat, 18 Jul 2015 11:49:41 +0000 Received: from cri.ensmp.fr (host-217-194-190-63.sbs.redder.net [217.194.190.63] (may be forged)) (authenticated bits=0) by boipeva.ensmp.fr (8.15.1/8.15.1/JMMC-22/Oct/2013) with ESMTPSA id t6IBnMcA024707 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Jul 2015 13:49:26 +0200 Date: Sat, 18 Jul 2015 13:49:16 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@sto To: Julien Rouhaud cc: Tom Lane , Guillaume Lelarge , mail@bwe.im, Oleksandr Shulgin , PostgreSQL Bugs List Subject: Re: BUG #12379: pgbench should hint to pgbench -i In-Reply-To: <55AA32E0.7070006@dalibo.com> Message-ID: References: <20141231105955.8014.38426@wrigleys.postgresql.org> <87oales6zm.fsf@ashulgin01.corp.ad.zalando.net> <55984046.60901@dalibo.com> <559908D4.7020901@dalibo.com> <23314.1436142811@sss.pgh.pa.us> <55AA32E0.7070006@dalibo.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at boipeva.ensmp.fr with ID 55AA3D42.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Auth: USER-ID fabien.coelho X-j-chkmail-Enveloppe: 55AA3D42.000 from [217.194.190.63]/host-217-194-190-63.sbs.redder.net/217.194.190.63/cri.ensmp.fr/ X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hello Julien, > Here's a v7 patch which display the hint only if SQLSTATE is > ERRCODE_UNDEFINED_TABLE and use the message Tom suggested, as there > wasn't any better suggestion or strong objection with it in the other > thread. I'm wondering why you added the define. Isn't-there some convenient include to get errcode definitions? -- Fabien. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs