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: stringfunc.diff
Description: application/octet-stream (40.4 KB)
In response to
Responses
pgsql-hackers by date
| Next: | From: strk | Date: 2010-03-09 18:57:05 |
| Subject: Re: Dyamic updates of NEW with pl/pgsql |
| Previous: | From: Pavel Stehule | Date: 2010-03-09 18:31:30 |
| Subject: Re: patch (for 9.1) string functions |