dvd@gnx.it writes:
> I found that `quote_literal` behaviour is wrong when used in a plpgsql
> function over a null composite type, let me show:
No, there's nothing wrong with quote_literal. Your example is showing
that plpgsql converts a "null" composite value into a row-of-nulls,
when dealing with a variable of a named composite type (in this case,
the variable is the parameter "val"). This is arguably wrong, but plpgsql
has been doing that for a mighty long time so people are hesitant to
change it.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs