From: Itagaki Takahiro <itagaki.takahiro@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6181: concat_ws() incompatibility with MySQL
Date: Mon, 29 Aug 2011 11:42:45 GMT
Message-ID: <201108291142.p7TBgjiJ027349@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 6181
Logged by: Itagaki Takahiro
Email address: itagaki.takahiro@gmail.com
PostgreSQL version: 9.1 RC1 (x86)
Operating system: Windows 7 (64bit)
Description: concat_ws() incompatibility with MySQL
Details:
For query concat_ws('/', NULL, 'X'),
PostgreSQL 9.1 returns '/X', but MySQL returns 'X'.
I think postgres should return 'X' because of compatibility.
Another reason is that both of the two queries below return 'X'.
- concat_ws('/', 'X', NULL)
- array_to_string(ARRAY[NULL, 'X'], '/')
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: itagaki.takahiro@gmail.com
Subject: Re: BUG #6181: concat_ws() incompatibility with MySQL
In-Reply-To: <201108291142.p7TBgjiJ027349@wwwmaster.postgresql.org>
References: <201108291142.p7TBgjiJ027349@wwwmaster.postgresql.org>
* 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