Multiples concatenation operator (||)

From: "Ricardo J(dot)C(dot)Coelho" <pulsar(at)truenet-ce(dot)com(dot)br>
To: "'pgsql-hackers mail list'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Multiples concatenation operator (||)
Date: 1999-02-10 21:47:29
Message-ID: 01BE552E.6C51A860.pulsar@truenet-ce.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Why "||" operator is not associative ?

select 'A' || 'B' || 'C'; results in a parse error at second "||".

If you force the association, it works: select ('A' || 'B') || 'C';

The same thing happen with mod "%".

Ricardo Coelho.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-02-10 23:29:33 Re: [HACKERS] Multiples concatenation operator (||)
Previous Message Jackson, DeJuan 1999-02-10 19:45:53 Possible bug on update