Alan Gutierrez <alangutierrez@hotmail.com> writes:
[...]
> Overloading operators? *Please* tell me that this is impossible.
yes, it is :-)
masm=# create function concat (text,text) returns text as 'select $1 || $2 as result' language 'sql' with
(iscachable);
CREATE
masm=# create operator + (procedure = concat, leftarg = text, rightarg = text);
CREATE
masm=# select 'Manuel '+'Sugawara'; ?column?
-----------------Manuel Sugawara
(1 row)
masm=#