Re: CONCAT function equivalent

From: Fabian Santiago <fabian(dot)santiago(at)gmail(dot)com>
To: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: CONCAT function equivalent
Date: 2014-05-18 01:02:33
Message-ID: CAP4E921FQ4EpxH+ugonZobFS9f+ryhZ0MfBgqRkUo6sKfXYieQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I upgraded to v9.1 and that solved a lot of my hurt. Thanks.

On Sat, May 17, 2014 at 11:03 AM, David G Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> Fabian Santiago wrote
> > Hello,
> >
> > Is there an equivalent command (string) for this example:
> >
> > UPDATE domain SET settings=CONCAT(settings, 'default_language:',
> > defaultlanguage, ';');
> >
> > that works and accomplishes the same thing in postgresql v8.4? Thanks.
> >
> > --
> > Sincerely,
> >
> > Fabian S.
>
> Not in core or contrib
>
> Could write one relatively easily in 9.0 but not sure how you'd manage in
> 8.4
>
> 8.4 is also going out of support soon
>
> Coalesce and || are your tools if you stick to 8.4
>
> David J.
>
>
>
>
>
> --
> View this message in context:
> http://postgresql.1045698.n5.nabble.com/CONCAT-function-equivalent-tp5804325p5804327.html
> Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

--
Sincerely,

Fabian S.
862-432-2373

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Steve Crawford 2014-05-19 22:37:37 Re: Regarding server sizing for postgres database
Previous Message Fabian Santiago 2014-05-18 01:01:33 Re: CONCAT function equivalent