Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 320901337B97 for ; Mon, 20 Dec 2010 16:33:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 26945-01 for ; Mon, 20 Dec 2010 20:33:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mail.postgresql.org (Postfix) with ESMTP id DDA10133740B for ; Mon, 20 Dec 2010 16:33:34 -0400 (AST) Received: from webmail.xs4all.nl (dovemail14.xs4all.nl [194.109.26.16]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id oBKKXS53097721; Mon, 20 Dec 2010 21:33:28 +0100 (CET) (envelope-from er@xs4all.nl) Received: from 156.83.1.179 (SquirrelMail authenticated user er) by webmail.xs4all.nl with HTTP; Mon, 20 Dec 2010 21:33:33 +0100 Message-ID: In-Reply-To: <201012200239.oBK2dc0c004538@wwwmaster.postgresql.org> References: <201012200239.oBK2dc0c004538@wwwmaster.postgresql.org> Date: Mon, 20 Dec 2010 21:33:33 +0100 Subject: Re: BUG #5795: 9.0.2 PDF needs editing From: "Erik Rijkers" To: "Leslie Satenstein" Cc: pgsql-bugs@postgresql.org User-Agent: SquirrelMail/1.4.18 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/151 X-Sequence-Number: 28957 On Mon, December 20, 2010 03:39, Leslie Satenstein wrote: > > The following bug has been logged online: > > Bug reference: 5795 > Logged by: Leslie Satenstein > Email address: lsatenstein@yahoo.com > PostgreSQL version: 8.4+ incl 9.0 > Operating system: Fedora 14 / Debian Squeeze > Description: 9.0.2 PDF needs editing > > 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'); > see also: http://archives.postgresql.org/pgsql-docs/2007-12/msg00059.php That ' to ' conversion (xslt or otherwise) never got implemented.