From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jonas Forsman <jfo123@hotmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6295: Update fails on empty concatenated strings
Date: Wed, 16 Nov 2011 10:44:38 -0500
Message-ID: <23579.1321458278@sss.pgh.pa.us> (raw)
In-Reply-To: <23407.1321457853@sss.pgh.pa.us>
References: <201111160847.pAG8lCdx067272@wwwmaster.postgresql.org>
<23407.1321457853@sss.pgh.pa.us>
I wrote:
> You might possibly want to spell
> the above as SET comment = '...' || coalesce(comment, null) ...
Sheesh. coalesce(comment, '') of course. Need more caffeine.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, jfo123@hotmail.com
Subject: Re: BUG #6295: Update fails on empty concatenated strings
In-Reply-To: <23579.1321458278@sss.pgh.pa.us>
References: <201111160847.pAG8lCdx067272@wwwmaster.postgresql.org> <23407.1321457853@sss.pgh.pa.us> <23579.1321458278@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox