Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 6D65D9FB415 for ; Mon, 23 Oct 2006 22:43:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 06208-04 for ; Tue, 24 Oct 2006 01:43:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 289EF9FB407 for ; Mon, 23 Oct 2006 22:43:31 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9O1hT1G001837 for ; Mon, 23 Oct 2006 21:43:29 -0400 (EDT) To: pgsql-docs@postgreSQL.org Subject: bytea vs standard_conforming_strings Date: Mon, 23 Oct 2006 21:43:29 -0400 Message-ID: <1836.1161654209@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/42 X-Sequence-Number: 3763 The discussion of bytea in section 8.4, http://developer.postgresql.org/pgdocs/postgres/datatype-binary.html is obsolete because it assumes that standard_conforming_strings is always OFF. It could be very much simpler and shorter if standard_conforming_strings were always ON, but that's not reality either. Anyone have an idea on how to rewrite it in a way that isn't awkward, incomprehensible, or both? regards, tom lane