X-Original-To: pgsql-php-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 349839FA6B5 for ; Wed, 2 Aug 2006 14:28:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 70252-10 for ; Wed, 2 Aug 2006 14:28:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id CAFA09FA4A8 for ; Wed, 2 Aug 2006 14:28:30 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id k72HSSq9016523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Aug 2006 10:28:29 -0700 Message-ID: <44D0E0BA.70406@commandprompt.com> Date: Wed, 02 Aug 2006 10:28:26 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: hunkybill@gmail.com CC: pgsql-php@postgresql.org Subject: Re: Problem with columns of type Text and Drupal/Prado/PHP5 References: <44D0CD59.8090008@gmail.com> In-Reply-To: <44D0CD59.8090008@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Wed, 02 Aug 2006 10:28:29 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.214 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200608/5 X-Sequence-Number: 3576 > It appears that in the Prado viewstate are some characters (binary??) > that offend the pgsql TEXT column and write errors occur whereby not all > the text is written to the session table, resulting in instability. > There is a point in the text stream where some binary data probably > causes an EOF or something? Are you sure it isn't data that is UNICODE? I find it odd that they would be storing actual binary strings as session data (but who knows). > Since mysql TEXT columns are really just BLOBS, and they work fine with > the viewstate data, is there a way to just change the column type from > TEXT to something akin to a BLOB column in pgsql so that I can use pgsql > instead of mysql? There is, several different things LO and Bytea. Sincerely, Joshua D. Drake -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/