Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 1B1171337B58 for ; Mon, 20 Dec 2010 09:40:49 -0400 (AST) 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 07639-08 for ; Mon, 20 Dec 2010 13:40:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 1C3FB133616B for ; Mon, 20 Dec 2010 09:40:40 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 1A289348024; Mon, 20 Dec 2010 05:40:37 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wZaUB0vEewWU; Mon, 20 Dec 2010 05:40:30 -0800 (PST) Received: from perhan.alvh.no-ip.org (unknown [190.95.22.165]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 8CB6C348022; Mon, 20 Dec 2010 05:40:29 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id B1AD66E470; Mon, 20 Dec 2010 10:40:23 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: pgsql-bugs Subject: Re: BUG #5795: 9.0.2 PDF needs editing From: Alvaro Herrera To: Leslie Satenstein In-reply-to: <201012200239.oBK2dc0c004538@wwwmaster.postgresql.org> References: <201012200239.oBK2dc0c004538@wwwmaster.postgresql.org> Date: Mon, 20 Dec 2010 10:40:23 -0300 Message-Id: <1292852330-sup-7957@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201012/144 X-Sequence-Number: 28950 Excerpts from Leslie Satenstein's message of dom dic 19 23:39:38 -0300 2010: > Using pdf for 9.0.2 version, > > The insert examples in section 2.4 do not function if a cut and paste from > pdf to psql is done > > This is the problem > INSERT INTO weather VALUES (’San Francisco’, 46, 50, 0.25, > ’1994-11-27’); > The fields city and date should have ' as delimiter, not > ’ > Corrected is the following that works. Error messages are not clear. It > would be great if psql indicated invalid character as error type. > > INSERT INTO weather VALUES ('San Francisco', 46, 50, 0.25, '1994-11-27'); > > In fact, there is a lot of touching up that needs to be done to this english > pdf document. (I can do it or I can prepare a list of pages and changes > needed to make a cleaner document) This is probably a problem in the toolchain used to produce the PDF rather than a problem in the source. Please have a look at the HTML version and see if these examples are correct there, before spending time on doing any of this. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support