Re: Posgres Adding braces at beginning and end of text (html) content

From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Posgres Adding braces at beginning and end of text (html) content
Date: 2009-04-02 12:59:53
Message-ID: 200904021459.54198.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2009-04-02 13:28:13 Re: %r in restore_command?
Previous Message linnewbie 2009-04-02 12:48:40 Posgres Adding braces at beginning and end of text (html) content