Skip site navigation (1) Skip section navigation (2)

Re: patch (for 9.1) string functions

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 (view raw or flat)
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: stringfunc.diff
Description: application/octet-stream (40.4 KB)

In response to

Responses

pgsql-hackers by date

Next:From: strkDate: 2010-03-09 18:57:05
Subject: Re: Dyamic updates of NEW with pl/pgsql
Previous:From: Pavel StehuleDate: 2010-03-09 18:31:30
Subject: Re: patch (for 9.1) string functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group