From: | "Emils Klotins" <emils(at)mail(dot)usis(dot)bkc(dot)lv> |
---|---|
To: | pgsql-sql(at)postgreSQL(dot)org |
Subject: | Re: [SQL] date_part - multiple values in format? |
Date: | 2000-03-03 08:51:46 |
Message-ID: | 200003030849.KAA18344@omega.bkc.lv |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[2 Mar 00,, 10:46] Tom Lane wrote:
> "Emils Klotins" <emils(at)mail(dot)usis(dot)bkc(dot)lv> writes:
> > Will there be a possibility of string concatenation in 7.x so that
> > I don't have to put all the concats in brackets? (ie. currently I
> > have to: ((((X || Y) || Z ) || A) || B)
> > which is of course also rather clumsy and leads to lots of
> > typos in case of more complex expressions.
> What?
> regression=# select 'a'::text || 'b'::text || 'c'::text;
> ?column?
> ----------
> abc
> (1 row)
> 6.5.3 behaves the same ...
Sorry about that. I don't remember at which version I did have
to use the form of concatenation I mentioned (6.4.x? 6.5.2?),
but yes, 6.5.3 seems to work fine without brackets.
Emils
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.2 -- QDPGP 2.61a
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOL9gcN0sxa1MAPWHEQL0cwCdEvOCrVXWN6sETUkFQhxrIocwRv8AoIM5
d7tOGK/m8JJkbJ7seNk35ohk
=yLXB
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Kyle Bateman | 2000-03-03 18:19:25 | 7.0beta bug (or feature)? |
Previous Message | Tom Lane | 2000-03-02 15:46:03 | Re: [SQL] date_part - multiple values in format? |