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

From: linnewbie <linnewbie(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Posgres Adding braces at beginning and end of text (html) content
Date: 2009-04-02 08:20:00
Message-ID: 0424623a-7b41-418b-85e3-93d62c799261@3g2000yqk.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

This is:

I input:

<p>xyz <p/>
.........

into the text area field I save and view I see

{<p>xyz</p>

.........
}

On a subsequent update I see

{{<p>xyz</p>
........

}}

On another I see

{{<p>xyz</p>

....
}}

Not sure what is happening here?

I am using postgres 8.3 on windows

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2009-04-02 08:22:11 Re: Is there any special way to a trigger send a signal to outer application?
Previous Message durumdara 2009-04-02 07:46:40 Is there any special way to a trigger send a signal to outer application?