From: | Paul Förster <paul(dot)foerster(at)gmail(dot)com> |
---|---|
To: | Joao Miguel Ferreira <joao(dot)miguel(dot)c(dot)ferreira(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: identifier will be truncated |
Date: | 2021-02-08 16:45:09 |
Message-ID: | 9DE48F36-C0CB-4770-985F-0AF5E113737E@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Joao,
> On 08. Feb, 2021, at 17:39, Joao Miguel Ferreira <joao(dot)miguel(dot)c(dot)ferreira(at)gmail(dot)com> wrote:
>
> NOTICE: identifier "y1972_1004_vat_periodic_declaration_suppliers_lines_dupl_c24_liq" will be truncated to "y1972_1004_vat_periodic_declaration_suppliers_lines_dupl_c24_li"
>
> Please advise on what I should do about it or if this might be a potential problem that I should address.
this is an indication that your object name is longer than 63 characters, which is a hard coded limit.
You have two options:
a) compile the PostgreSQL software from source and increase that limit (which I wouldn't recommend), or
b) use shorter object names (table-, view-, sequence-, column-, whatever names) with a maximum length of 63 characters.
Cheers,
Paul
From | Date | Subject | |
---|---|---|---|
Next Message | Taranum Fatima | 2021-02-09 00:59:39 | Postgres 9.4 Needed |
Previous Message | Adrian Klaver | 2021-02-08 16:41:50 | Re: identifier will be truncated |