Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6FAF22E36AB for ; Tue, 18 Dec 2007 07:16:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 58630-06-5 for ; Tue, 18 Dec 2007 07:16:28 -0400 (AST) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by postgresql.org (Postfix) with ESMTP id A3DF42E3695 for ; Tue, 18 Dec 2007 07:16:32 -0400 (AST) Received: by an-out-0708.google.com with SMTP id c36so655697ana.33 for ; Tue, 18 Dec 2007 03:16:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=0ETdbDjSQ9qzyB4WOHmZr1W6S5UMEhagGV+RgZe4rk8=; b=g1IWfvzD4tKo9pSiuGam6VAy6bfm6clcqottMYPcsEVjuMa9tQ58NJty25+Lht1KojUNQYWmmrKI5S2OfYSLF4QpTwVoowMyCcbEKHJLHSf2ONwNWLUPW9Jy7j8G0lURTYWVTeO2A+9aUg93XudnaNYDAmoe1UubL0Y7qvoEAIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=JYCTYMi4oCe8rQmqGGmKPxwMAhXIu3OjlBCxx6j9jBmK3ljZaQT6zjGq6lzQ7n0dIoZ66ElHCJiXsWjY9POtk+jMUq+mOVGmUYDstaOrST9HfNJiAYTu8qjE9xlzO7n3xXccYRG55aD8fwF/H77OzTSYQh9vSzgwA+/yvh7ItOU= Received: by 10.100.207.5 with SMTP id e5mr17154290ang.69.1197976591634; Tue, 18 Dec 2007 03:16:31 -0800 (PST) Received: by 10.100.11.6 with HTTP; Tue, 18 Dec 2007 03:16:31 -0800 (PST) Message-ID: <8f60d3bd0712180316r52dd88b9j4e092ee7b1a03d06@mail.gmail.com> Date: Tue, 18 Dec 2007 12:16:31 +0100 From: abyss To: pgsql-jdbc@postgresql.org Subject: concat returns null MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10305_22704116.1197976591630" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/132 X-Sequence-Number: 17987 ------=_Part_10305_22704116.1197976591630 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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... ------=_Part_10305_22704116.1197976591630 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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...
------=_Part_10305_22704116.1197976591630--