Search Postgresql Archives

Orafce concat operator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list,

The Orafce compatibility package doesn't seem to have operators defined (looked in the sql load file). The function I'm specifically interested in, is Oracle's concatenation that regards a NULL as the empty string and hence returns 'the other value'. This in contrast with Pg's || that returns NULL if either of the operands is NULL. The Orafce package contains a concat function with Oracle behaviour, however an operator is missing.

Having an associative operator has benefits over having only a function, since that would make translating expressions like 'monkey' || 'nut' || NULL easy.

What about adding something like operator ||| in the orafce package for concat?

Regards,
Yeb Havinga


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux