From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: patch (for 9.1) string functions |
Date: | 2010-03-09 18:45:59 |
Message-ID: | 162867791003091045i77e28cd2i5d0951250fbf8e2a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
updated version, concat function doesn't use separator
Pavel
2010/3/9 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:
> 2010/3/9 Merlin Moncure <mmoncure(at)gmail(dot)com>:
>> On Tue, Mar 9, 2010 at 9:30 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
>>> postgres=# select concat('ahaha',10,null,current_date, true);
>>> concat
>>> ------------------------
>>> ahaha,10,,2010-03-09,t
>>
>> why are there commas in the output?
>>
>
> I though so comma can be default separator - but I see - it is wrong -
> separator have to be empty string.
>
> Pavel
>
>
>> merlin
>>
>
Attachment | Content-Type | Size |
---|---|---|
stringfunc.diff | application/octet-stream | 40.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | strk | 2010-03-09 18:57:05 | Re: Dyamic updates of NEW with pl/pgsql |
Previous Message | Pavel Stehule | 2010-03-09 18:31:30 | Re: patch (for 9.1) string functions |