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 1hidTR-0007JJ-Kk for pgsql-general@arkaria.postgresql.org; Wed, 03 Jul 2019 11:30:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hidTP-0005qJ-Rf for pgsql-general@arkaria.postgresql.org; Wed, 03 Jul 2019 11:30:51 +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 1hidTP-0005ZL-5p for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2019 11:30:51 +0000 Received: from tmghyd.techmahindra.com ([119.151.17.190]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hidTH-0003I2-HP for pgsql-general@lists.postgresql.org; Wed, 03 Jul 2019 11:30:46 +0000 X-Disclaimer: true IronPort-PHdr: =?us-ascii?q?9a23=3AH8z0KB0dxqX9GlJysmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?seMSL/ad9pjvdHbS+e9qxAeQG9mCsbQf06GN4ujJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fcbglVmjaxe71/IAm5oQjfssQdnJdvJLs2xhbVuHVDZv?= =?us-ascii?q?5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnM?= =?us-ascii?q?URGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LptRRT1ii?= =?us-ascii?q?kIKiQ5/XnXhMJukaxbvByvqR9+w4HIb46YL+Bxcr/Bcd4AWWZNQthdWipcCY28?= =?us-ascii?q?dYsPCO8BMP5doYbnvVsOqQa1Cw62C+P11j9Ih3n21rAn3eQiFgHG2BEvEMwVv3?= =?us-ascii?q?TOttr1MrodWv2ywafN0DvPc+1b1DX/5YTWcx0sr+qBU6xufsXNyUkhEBnKjlWR?= =?us-ascii?q?qYzjIjyVzP4Cv3KH4OpnUOKikmgqoBxyrDi33sogl5XFipgUx1ze6Cl0wZw5Kc?= =?us-ascii?q?O3RUJjfNKoDIFcuiCAO4doTc4vQHtktSY1x7Eet560YisHxIgiyhPaafGKcIaI?= =?us-ascii?q?7xzmWeuSIzp3mG9pdbejiBuw8EWty+jxVsev31tIoSdIlMTHuGoX2BzJ8MeHT+?= =?us-ascii?q?Nw/kKm2TmSyQ/e8vpEIUUolarDLJ4h36IwmoITsUvdGi/2n137g6GTeEsr++el?= =?us-ascii?q?9ebpbLL7q5CdK4N4lh/yPr4wlMOhHes4Mg8AUHKb+eS90r3s4Ff5T69QgvIqla?= =?us-ascii?q?nZtYjWJcUdpqGnHw9Yypsv5wqlAzqnytgUgHgKIEhbdB+Il4TpPkvBIPH8Dfex?= =?us-ascii?q?mVSslzJryujDMLP8HpnAMHrOnbX/cbt85UNR0xYzws5D6JJUD7EOOvLzWk73tN?= =?us-ascii?q?PFFB82KRa4zPrgCNV4zo8eQ36AAreFMKPOtl+F/vovI+aXZI8MvDbxMvcl6ODo?= =?us-ascii?q?jXAng18SZ62p0IATaHC5BfRmP16ZbWD0gtcGCmcKogU+TPb0h12ZSD5TY2y+X6?= =?us-ascii?q?Um5jE0W8qaCtKJXo+2mbjE0yq9E4dfYkhCC0uQCjHwcJ6YVO0BczuWZMh7nXZM?= =?us-ascii?q?AaCuUJYlkB6jsgLgwr5PKuvP5jZerZX4yNdv6vbKkVc17zMiXOqH1GTYbGhumi?= =?us-ascii?q?stTiUq3aY3mk96zluO27JxhfAQQf9ov9gWDV1kbrbgwud6LtnyWwTNZN7PQ1Gj?= =?us-ascii?q?FIb1SQotR848loddK312HM+v20jO?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2E5BAD5kBxd/xgQBgplHQEBBQEHBQGBZ?= =?us-ascii?q?4EVgWyBNpdTAQEBAQEBBpwlCQEBAQEBAQEBAQgvAQGHBjgTAQMBAQUBAQEBBQE?= =?us-ascii?q?BAoshC4I6IoMjXgEMCWsmAQQbgxuBHVmmMRqIX4FHgTSBY4sLgQeDdgGLEASBL?= =?us-ascii?q?QEBAZIwlloBBgIBghgDk3QjjUADii6NMJdbgWdMGoEUMz2BboFPkQSNfIEhAQE?= X-IPAS-Result: =?us-ascii?q?A2E5BAD5kBxd/xgQBgplHQEBBQEHBQGBZ4EVgWyBNpdTAQE?= =?us-ascii?q?BAQEBBpwlCQEBAQEBAQEBAQgvAQGHBjgTAQMBAQUBAQEBBQEBAoshC4I6IoMjX?= =?us-ascii?q?gEMCWsmAQQbgxuBHVmmMRqIX4FHgTSBY4sLgQeDdgGLEASBLQEBAZIwlloBBgI?= =?us-ascii?q?BghgDk3QjjUADii6NMJdbgWdMGoEUMz2BboFPkQSNfIEhAQE?= X-IronPort-AV: E=Sophos;i="5.62,446,1554748200"; d="scan'208,217";a="170964735" Received: from unknown (HELO UKEXCHMBX002.TechMahindra.com) ([10.6.16.24]) by TMGHYD.techmahindra.com with ESMTP/TLS/AES256-SHA256; 03 Jul 2019 17:00:32 +0530 Received: from UKEXCHMBX003.TechMahindra.com (10.6.16.29) by UKEXCHMBX002.TechMahindra.com (10.6.16.24) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 3 Jul 2019 12:30:09 +0100 Received: from UKEXCHMBX003.TechMahindra.com ([fe80::78f3:87c1:c766:fb74]) by UKEXCHMBX003.TechMahindra.com ([fe80::78f3:87c1:c766:fb74%20]) with mapi id 15.00.1395.000; Wed, 3 Jul 2019 12:30:09 +0100 From: Karl Martin Skoldebrand To: "pgsql-general@lists.postgresql.org" Subject: Too short field Thread-Topic: Too short field Thread-Index: AdUxkfwo/xJLs5PCTiW+hFEUBwseOA== Date: Wed, 3 Jul 2019 11:30:09 +0000 Message-ID: <78d5b939297348b8856d457be7a63e7e@UKEXCHMBX003.TechMahindra.com> Accept-Language: sv-SE, en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.6.248.54] Content-Type: multipart/alternative; boundary="_000_78d5b939297348b8856d457be7a63e7eUKEXCHMBX003TechMahindr_" MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_78d5b939297348b8856d457be7a63e7eUKEXCHMBX003TechMahindr_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, We solved the problem of yesterday where I was looking at sequences. It eve= ntually turned that sequence was irrelevant (at least in the PostgreSQL sen= se) to the problem. Now, we have a bug in another application that prevents an automatic tool t= o enter certain users in the database. The organisational field is varchar(= 60) while the actual Organisation "abbreviation" may be as long as 70 chara= cters (don't ask why). What happens to data if I simple redefine the table field as varchar(80) (o= r something, at least 70+). Does "everything" break database side or can I = just go on running the app as is. Do we need to restart databases or something else that requires an interrup= ted service? Best regards, Martin S =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Disclaimer: This message and the information contained herein is proprieta= ry and confidential and subject to the Tech Mahindra policy statement, you = may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.= com/tim/disclaimer.html i= nternally within TechMahindra. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --_000_78d5b939297348b8856d457be7a63e7eUKEXCHMBX003TechMahindr_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

Hi,

 

We solved the problem of yester= day where I was looking at sequences. It eventually turned that sequence wa= s irrelevant (at least in the PostgreSQL sense) to the problem.

Now, we have a bug in another a= pplication that prevents an automatic tool to enter certain users in the da= tabase. The organisational field is varchar(60) while the actual Organisati= on “abbreviation” may be as long as 70 characters (don’t ask why).

What happens to data if I simpl= e redefine the table field as varchar(80) (or something, at least 70+).= Does “everything” break database side or can I just go on runn= ing the app as is.

Do we need to restart databases= or something else that requires an interrupted service?<= /p>

 

Best regards,

Martin S

=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Disclaimer:  This= message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at= http://www.techmah= indra.com/Disclaimer.html externally http= ://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.

=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--_000_78d5b939297348b8856d457be7a63e7eUKEXCHMBX003TechMahindr_--