From: John DeSoi <desoi@pgedit.com>
To: hunkybill@gmail.com
Cc: pgsql-php@postgresql.org
Subject: Re: Problem with columns of type Text and Drupal/Prado/PHP5
Date: Wed, 2 Aug 2006 14:09:13 -0400
Message-ID: <436FED1E-67AD-4931-8E27-C81987CF2C49@pgedit.com> (raw)
In-Reply-To: <44D0CD59.8090008@gmail.com>
References: <44D0CD59.8090008@gmail.com>
On Aug 2, 2006, at 12:05 PM, hunkybill@gmail.com wrote:
> Examining the database storage for PHP sessions, it uses a column
> marked as TEXT to store session data. In my case of integrating not
> only Drupal, but Prado, I have extra data from Prado being saved
> into the session table. With mysql, columns of type TEXT are
> actually BLOBS. When running Drupal and Prado with mysql, session
> management works fine. With Drupal, Prado and pgsql however, I have
> a serious problem.
You need to use the bytea column type. If you need examples, Drupal
prior to 4.7 used a text column in their cache table which caused
problems with PostgreSQL. In 4.7 it has been changed to bytea. So a
comparison of the 4.6/4.7 Drupal sources should give you clues if you
want to alter additional fields for binary data because of the Prado.
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
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: desoi@pgedit.com, hunkybill@gmail.com
Subject: Re: Problem with columns of type Text and Drupal/Prado/PHP5
In-Reply-To: <436FED1E-67AD-4931-8E27-C81987CF2C49@pgedit.com>
References: <44D0CD59.8090008@gmail.com> <436FED1E-67AD-4931-8E27-C81987CF2C49@pgedit.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