RE: [PHP-DB] Postgres and gzcompress

2006-09-06 Thread Nathan Harmon
ssing it. on the way out, uncompress, base-64-decode the value and see what you get Bastien From: "Nathan Harmon" <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] Postgres and gzcompress Date: Wed, 06 Sep 2006 15:39:37 -0700 Hi, I would like to store a compress

[PHP-DB] Postgres and gzcompress

2006-09-06 Thread Nathan Harmon
Hi, I would like to store a compressed string (XML) in my PostgreSQL table. So far, I have been unsuccessful in uncompressing the data that I insert. For example: echo gzuncompress(gzcompress('this is a test')); works fine. But when i store the gzcompressed data in the table, the data that