Re: BUG #3641: Concat fails in update

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Curt <kurt(at)net2business(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3641: Concat fails in update
Date: 2007-09-28 13:46:32
Message-ID: 46FD05B8.80207@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Curt wrote:
> The following bug has been logged online:
>
> Bug reference: 3641
> Logged by: Curt
> Email address: kurt(at)net2business(dot)com
> PostgreSQL version: 8.1.9-1.el5
> Operating system: Centos 5
> Description: Concat fails in update
> Details:
>
> UPDATE table content=content || 'constant' where idx=101;
>
> Content field is overwritten with 'constant'.

You're missing a SET.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-09-28 15:13:44 Re: BUG #3640: PANIC: ERRORDATA_STACK_SIZE exceeded
Previous Message Milen A. Radev 2007-09-28 13:46:23 Re: BUG #3641: Concat fails in update