Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 4FA8D62DBEF for ; Sat, 24 Jul 2010 09:21:40 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 56784-05 for ; Sat, 24 Jul 2010 12:21:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mail.postgresql.org (Postfix) with SMTP id AFD3E6326C0 for ; Sat, 24 Jul 2010 09:21:32 -0300 (ADT) Received: (qmail invoked by alias); 24 Jul 2010 12:21:30 -0000 Received: from a88-115-218-165.elisa-laajakaista.fi (EHLO [10.0.0.101]) [88.115.218.165] by mail.gmx.net (mp020) with SMTP; 24 Jul 2010 14:21:30 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX18/BUhMsTA/ZXgxyoDRPgEKozePp/xpoaEOVTM1qw JVW7WqWPplNbk4 Subject: Re: Adding a crucial element to an example From: Peter Eisentraut To: John Gage Cc: pgsql-docs@postgresql.org In-Reply-To: <9A88E54D-2CF7-403F-A0D8-35B9ECDC7103@numericable.fr> References: <9A88E54D-2CF7-403F-A0D8-35B9ECDC7103@numericable.fr> Content-Type: text/plain; charset="UTF-8" Date: Sat, 24 Jul 2010 15:21:29 +0300 Message-ID: <1279974089.22066.3.camel@vanquo.pezone.net> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-5 required=5 tests=BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/149 X-Sequence-Number: 5805 On fre, 2010-07-23 at 12:02 +0200, John Gage wrote: > In this section, you create the table for the example, but you do > not > populate it, although the example select statements are against the > phantom population that has not been inserted. > > I suggest strongly including the minimal code necessary to populate > the table, so that the user doesn't have to populate it himself. > Call > me lazy, but I did go into pgAdmin and insert values after creating > a > primary key. Could you send a patch, or a list of the statements that need to be inserted?