How to define + operator for strings

Поиск
Список
Период
Сортировка
От Andrus
Тема How to define + operator for strings
Дата
Msg-id e2spis$30tr$1@news.hub.org
обсуждение исходный текст
Ответы Re: How to define + operator for strings
Список pgsql-general
I want to create portable code which runs in other dbms without
modification.

Unfortunately this other dbms uses + for string concatenation and has no way
to define operators.

How to define + operator as alias of || operator for strings  so I can use

SELECT firstname+ ' '+ lastname
...

in Postgres

Andrus.



В списке pgsql-general по дате отправления: