Re: Posgres Adding braces at beginning and end of text (html) content - Mailing list pgsql-general

From Leif B. Kristensen
Subject Re: Posgres Adding braces at beginning and end of text (html) content
Date
Msg-id 200904021459.54198.leif@solumslekt.org
Whole thread Raw
In response to Posgres Adding braces at beginning and end of text (html) content  (linnewbie <linnewbie@gmail.com>)
List pgsql-general
On Thursday 2. April 2009, linnewbie wrote:
>Hi All,
>
>I'm fairly new to postgres and I'm having this peculiar problem.
>
>I'm storing raw html in a text field and I want users who know HTML to
>update the content in a textarea field.
>
>The problem is postgres is adding braces to the begining and ending of
>the content.  On creation and every time I update.

I can't reproduce your problem in 8.3.5:

pgslekt=> create table test (i integer, t text);
CREATE TABLE
pgslekt=> insert into test values (1, '<p>Hei hei</p>');
INSERT 0 1
pgslekt=> select * from test;
 i |       t
---+----------------
 1 | <p>Hei hei</p>
(1 row)

Perhaps it's a middleware problem?
--
Leif Biberg Kristensen | Registered Linux User #338009
Me And My Database: http://solumslekt.org/blog/

pgsql-general by date:

Previous
From: linnewbie
Date:
Subject: Posgres Adding braces at beginning and end of text (html) content
Next
From: Alvaro Herrera
Date:
Subject: Re: %r in restore_command?