Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5bHO-00006M-Ed for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2015 14:58:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5bHN-00034k-Vf for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2015 14:58:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5bHN-00034d-9h for pgsql-bugs@postgresql.org; Thu, 18 Jun 2015 14:58:57 +0000 Received: from jiboia.ensmp.fr ([194.214.158.103]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z5bHK-0004Sc-0x for pgsql-bugs@postgresql.org; Thu, 18 Jun 2015 14:58:56 +0000 Received: from cri.ensmp.fr (wifi2-mpt-090.paris.ensmp.fr [192.168.153.90]) (authenticated bits=0) by jiboia.ensmp.fr (8.15.1/8.14.9/JMMC-22/Oct/2013) with ESMTPSA id t5IEwk5j005308 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Jun 2015 16:58:46 +0200 Date: Thu, 18 Jun 2015 16:58:45 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@sto To: digoal@126.com cc: PostgreSQL Bugs List Subject: Re: BUG #13452: postgresql 9.5dev pgbench document problem. In-Reply-To: <20150618013350.2734.87659@wrigleys.postgresql.org> Message-ID: References: <20150618013350.2734.87659@wrigleys.postgresql.org> 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 jiboia.ensmp.fr with ID 5582DCA6.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: 5582DCA6.000 from wifi2-mpt-090.paris.ensmp.fr/wifi2-mpt-090.paris.ensmp.fr/192.168.153.90/cri.ensmp.fr/ X-Pg-Spam-Score: -2.2 (--) 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 > An problem in 9.5dev Document. > http://www.postgresql.org/docs/devel/static/pgbench.html > > \set aid (1021 * :aid) % (100000 * :scale) + 1 > > -- aid undefined~ This example is not intended to be self-contained, this line assumes that aid is already set, and would be okay in such case. I guess the documentation examples could be made less surprising. -- Fabien. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs