adding support for truncated table/column names in PostgreSQL & unit tests