Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l99bv-0006eX-4j for pgsql-general@arkaria.postgresql.org; Mon, 08 Feb 2021 16:42:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l99bu-0000E4-3I for pgsql-general@arkaria.postgresql.org; Mon, 08 Feb 2021 16:42:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l99bt-0000CQ-S1 for pgsql-general@lists.postgresql.org; Mon, 08 Feb 2021 16:42:01 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l99bn-0004cz-9k for pgsql-general@lists.postgresql.org; Mon, 08 Feb 2021 16:42:00 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7864EA52; Mon, 8 Feb 2021 11:41:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 08 Feb 2021 11:41:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=2 L2ip877ycRclP9f9al17DIv3bkT7+B5SIhZzsxuSTM=; b=QZp5UgQ6QxVNC0ceF KIxBOmvCU2m9qDBx7RAnoR3MUsydoV5pf7zasDiTJOboAhv8uoQSJE8S8VQbDOT8 4BJgDOfzF+m9v8jvDpjVZcrBd5ubGdIwKvbEqh8t0oVbhAcem2oB+QjYKnMSYkYV Z+WeDAsRR/bZ8OqGKP01uEvKX2D89C9H7upXz1NK9kXZgxlaANxnhJO1Lfv83jER AiYXtUh9iz3Rjt8rUOqrlTxDQqPPOepWuOTYql91/qrmJ+RlAeGoAcYtlMqNjJ+k d904Z4s3+3OMJmZOjg/r6scQk4HbfOfuFqTkhzavF97rk6+n4n1vAipBwaiGuBdv 37wzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=2L2ip877ycRclP9f9al17DIv3bkT7+B5SIhZzsxuS TM=; b=oKq9FeQXObTdW+WrUJR2hnoWpCLERBdUIeTRCZPK+jgwPo9g4FnDQNEej LMaWpRMx9QqvVCZm+cix3v0URA+apyeH6uVTg9wtQmlTYt/LLrgGAQNYHdI9b7YO upBJmfEU/LvuBnKkOOp9IGloPFqpKu5huODZbpVVo9xI8AfRMDdhbymYXV2Ppwsr Uf6rtmC/IDVNivK+OzZVzGVoBsTpYB879WGiAEi82yPtfkrWuVEa4HzzSjPKCvT7 tTG6b4+6+nMlYspBrvHWXWBcPq51uA6zE5CbJLJUicl0GAdJFe0mwvGRSxBnX5mp iZVrcPw1EGrtOJ2kQrumdtYj2YSdQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheefgdelvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepuddufeejteevffehgfduhedthfdvteekieeuheefveev udetkeelueehgeduhefhnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc fkphepleejrdduudefrddvudejrddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrd gtohhm X-ME-Proxy: Received: from [192.168.1.4] (97-113-217-27.tukw.qwest.net [97.113.217.27]) by mail.messagingengine.com (Postfix) with ESMTPA id 6B9AF240064; Mon, 8 Feb 2021 11:41:51 -0500 (EST) Subject: Re: identifier will be truncated To: Joao Miguel Ferreira , pgsql-general References: From: Adrian Klaver Message-ID: <89903750-0ead-9461-1197-ae601461898c@aklaver.com> Date: Mon, 8 Feb 2021 08:41:50 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/8/21 8:39 AM, Joao Miguel Ferreira wrote: > Hello all, > > I'm running unit/integration tests on a pg based application. I recently > started getting the following indication on the test suite pg client: > > 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. https://www.postgresql.org/docs/12/sql-syntax-lexical.html "The system uses no more than NAMEDATALEN-1 bytes of an identifier; longer names can be written in commands, but they will be truncated. By default, NAMEDATALEN is 64 so the maximum identifier length is 63 bytes. If this limit is problematic, it can be raised by changing the NAMEDATALEN constant in src/include/pg_config_manual.h." > > Thank you > Joao > > > -- Adrian Klaver adrian.klaver@aklaver.com