pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: hunkybill@gmail.com
Cc: pgsql-php@postgresql.org
Subject: Re: Problem with columns of type Text and Drupal/Prado/PHP5
Date: Wed, 02 Aug 2006 10:28:26 -0700
Message-ID: <44D0E0BA.70406@commandprompt.com> (raw)
In-Reply-To: <44D0CD59.8090008@gmail.com>
References: <44D0CD59.8090008@gmail.com>


> 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/





view thread (3+ messages)  latest in thread

Message-ID: <44D0E0BA.70406@commandprompt.com>
Permalink:  ../44D0E0BA.70406@commandprompt.com/
Also on:    postgresql.org/message-id/44D0E0BA.70406@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: jd@commandprompt.com, hunkybill@gmail.com
  Subject: Re: Problem with columns of type Text and Drupal/Prado/PHP5
  In-Reply-To: <44D0E0BA.70406@commandprompt.com>
  References: <44D0CD59.8090008@gmail.com> <44D0E0BA.70406@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox