Alexey Kachalin <kachalin.alexey@gmail.com> writes:
> Prepared SQL name collision. The name implicitly is truncated by
> NAMEDATALEN
This is not a bug. You exceeded a well-documented implementation
limit, and the response is as documented.
> Is it possible to know which value was used at compilation time from
> application code?
You can do
=# show max_identifier_length;
max_identifier_length
-----------------------
63
(1 row)
or various equivalent ways of inspecting that parameter.
regards, tom lane