pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: abyss <kurjak@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: concat returns null
Date: Tue, 18 Dec 2007 12:16:31 +0100
Message-ID: <8f60d3bd0712180316r52dd88b9j4e092ee7b1a03d06@mail.gmail.com> (raw)

I don't know if it's bug or feature but
select 'test' || null as result
returns null,
so i need to case second parameter not to concat if it is null...

view thread (3+ messages)  latest in thread

Message-ID: <8f60d3bd0712180316r52dd88b9j4e092ee7b1a03d06@mail.gmail.com>
Permalink:  ../8f60d3bd0712180316r52dd88b9j4e092ee7b1a03d06@mail.gmail.com/
Also on:    postgresql.org/message-id/8f60d3bd0712180316r52dd88b9j4e092ee7b1a03d06@mail.gmail.com

 · 

reply

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-jdbc@postgresql.org
  Cc: kurjak@gmail.com
  Subject: Re: concat returns null
  In-Reply-To: <8f60d3bd0712180316r52dd88b9j4e092ee7b1a03d06@mail.gmail.com>
  References: <8f60d3bd0712180316r52dd88b9j4e092ee7b1a03d06@mail.gmail.com>

* 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