[odb-users] statement-regex

Александр Б. alexandr.tver at gmail.com
Wed Aug 17 20:25:37 EDT 2016


Hello.

I have a problem with message

"warning: prepared statement name
'insert_[some_class_name]_[other_class_name]' is longer than the default
PostgreSQL name limit of 63 characters and may be truncated"

I'm trying to shorten the name with option "--statement-regex", but I
can not replace all occurrences of expression.

Example:

'insert_long_class_name_other_long_class_name'

The expression should be reduced to

'insert_short_name_other_short_name'.


Is it possible?


Thank you very much.


Alexandr. B.




More information about the odb-users mailing list