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  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список 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 по дате отправления:

Предыдущее
От: Terry Lee Tucker
Дата:
Сообщение: Re: For vim users: Syntax highlighting for PostgreSQL
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: How to define + operator for strings