Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hie6R-0000tW-AU for pgsql-general@arkaria.postgresql.org; Wed, 03 Jul 2019 12:11:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hie6P-0008NC-V4 for pgsql-general@arkaria.postgresql.org; Wed, 03 Jul 2019 12:11:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hie6P-0008N5-FI for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2019 12:11:09 +0000 Received: from mout.gmx.net ([212.227.15.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hie6M-0003jD-1J for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2019 12:11:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1562155858; bh=XdTivp9T/HfaYCBKcAYfDw0wmFwe87XKksqr3XZWtVQ=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=kXm3VlPcxuRMvDHE80E5H7d6tRENSVPVaotTjZ4VnwBO6Q0VDTtNsEaH1x3G/pcHO FCJgR18ATwd0+ywcGdtyBQT7/etDvwZ4/DEHKgxDH519fkWliFWGwfyhoVRVtSjTOy sX0lXZkvBerRzmS816I7fbwAU4loGsEne8L0BatI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermes ([77.183.58.155]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M9JYE-1hoiv13qxi-00Ckbu for ; Wed, 03 Jul 2019 14:10:58 +0200 Received: from ncq by hermes with local (Exim 4.92) (envelope-from ) id 1hie6B-00089n-IT for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2019 14:10:55 +0200 Date: Wed, 3 Jul 2019 14:10:55 +0200 From: Karsten Hilbert To: pgsql-general@lists.postgresql.org Subject: Re: Too short field Message-ID: <20190703121055.GC2383@hermes.hilbert.loc> References: <78d5b939297348b8856d457be7a63e7e@UKEXCHMBX003.TechMahindra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Ma_X_il-Followup-to: d Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net X-Pri_X_ority: 2 (High) User-Agent: Mutt/1.10.1 (2018-07-13) Sender: X-Provags-ID: V03:K1:r+WPWCzvRDdmxqXDfyo6WQGZde0FeBdhALGZJgydeHf8tJIu4tv 01SyrT64LU9U1AKfyP+/7IbUa/dHwTpx5ZIocz+dTJPLM7zZ6ppu2gCcU+PbHSZxpW1owlE Ac1b6xdBp8pFaBCKM9+3RRBxCRIam8tvEm3N4774o9nezIMx5N9/rgJhz5qReyMHbP75GqQ QaTqqUAEPV0Io/lw5+HtQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hD8Hw/S+RWs=:DrgwRFQkbp0s3gX2r2vLs5 vfhzXOZFUW1vvSejnYmZXA9vt6k75QbhUeXueBBHZfOBI/3HN7+wKtoP9XU1e6j2m7mwzW898 QGOv3qm/J+vAOBFyaFd0DiQGhhrFSqfUW4vv4/m+ur+M5AUVGqB3Frii2GSyDiGdC3iAXm4w/ qfAPQs2ajnAxLheVL6/m9qXiVxcnaXIslqDG+rhWkXcZBNFwohTjnF/ldQ9R1hUlYqCN7hslb KKZNzkXgkpN+1/uCQC6YhchG7t54jSlMEu4CW1LaYyWpIuzOpHy4iCitRJ4ZdL0ZKLpBJm+di rOtDX6kObL11HEX0g7f3zHCAMrZLHjHjEmIknKXPbdO31IGwNDGQhD6/6uBhNeXDVo4yl5YDB tfPmOizW4HVuvi/oXF7P8NxfnyASTX8b5nhDfF1l8r+OXP5hnjVtOL0GYMQWEMNci0o7wxoUS nDyHOGpR0/8oLMPYm7fmv9v/aU6rDHTuLJ86E3CBuNbY0B6JRqkysr4X+GB33NN+bmuX6RRx8 wro5yaxi7yaVZrzPly8lfrqNEr592QcyK9EH5zSW0huvBPCM8NJKXiKj1MnDMEHawShN3hk9G wKkbPcmWTyPE0rj9rN8oTMTePqN0v8+Ey1YIV2L1aoRziY1aOhC8tAOvisjABztDgFLoBkewy ReIqnGUEbsydhwNa0UJugExo7yRg+cE4abSjggNzaj7xB1+x+rhTPK3DZvcYsezv+HtM2Lp6+ uZ0sAF2qTvCOQN2IVouT8LvlRYutqeSJ1BOB+UdQ7Agcbkk9/IYKnKBPwP+3OWnCovb42Fmna Q1qA52SSPhAhhkSZBRiIvYA+NQ+B0iGPYNyIJ6BiT41vylDeMzbUyJEEzL5zsn5kqP8yznTYQ BBHolg5Wdm18ByruZdnr13/61SvnmJNXwMVeMBsoEmx5P01CXTdHHYW434vMbkHDIw4E9K+Xq +6z+l25mTj/Q7x6hQnENOCOGbVmGex3FBkOaOcJF0pCR9jRjK01Q8I1aZ3+8SFzJA2DsHY76n 5OlxAVOzvDWhkqrik0jmuD4Mpu6R2ue1jlCFOquVmB3HHFM0ytfhnuvX9daBBprdAxUi8j82U ekPQmgGQErAZWE= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Jul 03, 2019 at 01:56:03PM +0200, Thomas Kellerer wrote: > Karl Martin Skoldebrand schrieb am 03.07.2019 um 13:30: > > Now, we have a bug in another application that prevents an automatic > > tool to enter certain users in the database. The organisational field > > is varchar(60) while the actual Organisation =E2=80=9Cabbreviation=E2= =80=9D may be as > > long as 70 characters (don=E2=80=99t ask why). > > > > What happens to data if I simple redefine the table field as > > varchar(80) (or something, at least 70+). Does =E2=80=9Ceverything=E2= =80=9D break > > database side or can I just go on running the app as is. > > Nothing will break on the database size. We don't know. There may be functions in triggers or for direct use which rely on the assumption that it be 60 chars max. PostgreSQL itself won't care, that much holds. Karsten =2D- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B