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 1hieGD-0001YG-0o for pgsql-general@arkaria.postgresql.org; Wed, 03 Jul 2019 12:21:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hieGB-0005Ak-Q0 for pgsql-general@arkaria.postgresql.org; Wed, 03 Jul 2019 12:21:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hieGB-0005AB-Ga for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2019 12:21:15 +0000 Received: from mout.gmx.net ([212.227.15.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hieG8-0004wk-7T for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2019 12:21:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1562156467; bh=Sgefppj9jzO1tIb+o4fqvAhH017feY7YzWuYp1LSKX0=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=hyT8THgvfYDuJDEfwxBHvavh9xtwhs/zPZIocXlI85erj1VC+mFryB7wGWrp1qVHQ sF4evFu9BwnjWMXEUOvnLoQa5xkHbOC2L1ocuKVzIOA35sx2N+3qIPzRWGalnFdtJU MZiFjAr17RYcCAOVdkGQIj6AveHbV2hU71ZBiZdY= 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 0MfEZG-1huF7g3xEY-00OnA4 for ; Wed, 03 Jul 2019 14:21:07 +0200 Received: from ncq by hermes with local (Exim 4.92) (envelope-from ) id 1hieG2-0008Jd-5r for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2019 14:21:06 +0200 Date: Wed, 3 Jul 2019 14:21:06 +0200 From: Karsten Hilbert To: pgsql-general@lists.postgresql.org Subject: Re: Too short field Message-ID: <20190703122106.GD2383@hermes.hilbert.loc> References: <78d5b939297348b8856d457be7a63e7e@UKEXCHMBX003.TechMahindra.com> <20190703121055.GC2383@hermes.hilbert.loc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190703121055.GC2383@hermes.hilbert.loc> 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:T4FNANIitmyIeqMKhxooAlkffrWAVxU26ZKqznmEQN1K9gOEc0j 2nOeuoXqef8jgbHeay0Z4agngUqig1Y674xeaDwPLvF/zwnEbyh+DxzkLMqL7MiJDfVcYh5 8M3uicS7k6cj/Ug1yMQn6m6LlsG+Pt2iy+0JZNSjoEFWAXSOh0t90oafYUP7gW6ZSjX08qs 7hrdfxu1F4Y5dS+jF/zmA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:vUL5nZM5IaU=:TFtx3N/gYobjMd0HDiZERV eMoITxDsdNt2/Nmg/bOHd99Izh1YvxRCZYKA/t50Uf08QAfQGUqEZ1wOCFpkSJIjRkTyOdgVZ VzMGB3He+gBzhGkpHSt8ITZmlmd3a5XajUfXYYJfHUxqRbaeAp94DWd5ZHa7DH2DrfMTQEBWl Q+qzgsOIe6uovk1Cm1R7SfaasGXONnNJ7PT2ou3CygySWlPlSYH7LfbsgbmwoQIDzGqOP62sV LXLx3o3SUi2QmyV/OTffFChcro3xd+aLmu7GUZcWtZGIjgLXs+G2BfeC4mSibtJTj9GDWGLxu j1nrN0LbouDM0evXr7OUJXqq98q6OTc8ELICQvF9xzOCY3G8Z9U3ybjNyPMiAv9KS+AVMhIVO VS0fIIrSlmHlo8oYbH78hVf6E2jCAguWSgMM5ITut8PCZdE8MgHtzPDCsRJi7F+TGsrMT/MX0 nP4MJlH6eIKLx/R+hLYVH6A5+qit0roRsQpk+t6pKdKmVkHZSY8+ipvqmnMr9MpQwJNRRDa8W KW9bC+71eZI/8vgoerxXJXH2CWawKSf+j+fPHnA6ZtGK9E/RSNF6GTzvWsb/Macnh5tP6YwJj ePe7amKrqo6iieJhlVGgQ2G04A7+jGa9IOiFfPth/emMBtVeCZLJM481zAn0wwYkupCanIbmb 4DHqadDcO/QSCiMEsSTsKF0YWIGSSjTqf7bVRiZHxvT2qacsN36qvoPdmu1laA8mlRUj5hc6+ WxY8NyH7yPyzP0Q47ZNC9KJTzQ3z8809XDxiD0E5cWHCdgsRVWOc0M7EvQGnlGYEZJJ90z5uM /3gZJQnEB7xeOcBHfnydY3Nz5O41WUiqJ0Ykq0pd7bXKNa22ZJwloOk4c02aVuZCTN+WzplGj RG49wksS63usO3F9tNC7wYxCOx9L73OcJUg3/LTzzPbz+kaggrHRMFQpY8HJh7/2tOyvw9HZG lfylBB7s8NFWEfPhV0xR09TK+lgtnQH7lcrd+Bb1VAedlRe9MwFGr4caRl1hphUzb0qBgWW1n UVEGbel2eYsDRZAnbAlbSV+yhQWH5z1lJUhla5OUmxdldoqfLGrR5yLzWEJNdgIpCrGDGKxKa gOMW4nMxB5UUwQ= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Jul 03, 2019 at 02:10:55PM +0200, Karsten Hilbert 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 fiel= d > > > 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. Sorry, I didn't read properly: >>> What happens to >>data<< if I simple redefine the table field Nothing should happen to the data. But: > There may be functions in triggers or for direct use which > rely on the assumption that it be 60 chars max. :) Karsten =2D- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B