How to hide notice logs because of identifier trucation?

Hi there, i am getting constant logs from drizzle/postgres like these:
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pvnDomains_domainSubdomains_subdomain_subdomainIndicators_indicator" will
be truncated to "pvnDomains_domainSubdomains_subdomain_subdomainIndicators_indic"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pvnDomains_domainSubdomains_subdomain_subdomainIndicators_indicator" will
be truncated to "pvnDomains_domainSubdomains_subdomain_subdomainIndicators_indic"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
my application seems to run fine. Does the trucation hurt or is it just a cosmetic warning? Can i disable this log level somehow?
1 Reply
JustWayne
JustWayne3mo ago
This looks like an error from the pg driver. If it is, perhaps you will have to setup the pg driver with some configuation before you instantiate drizzle with it. Actually, this is a straight up Postgres error from the server itself according to a brief search for the timers: pg error identifier will be truncated

Did you find this page helpful?