Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TbwDD-00077G-El; Fri, 23 Nov 2012 16:34:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TbwD8-0002eG-V1; Fri, 23 Nov 2012 16:34:41 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qANGYbPv020523; Fri, 23 Nov 2012 11:34:38 -0500 (EST) From: Tom Lane To: Heikki Linnakangas cc: Euler Taveira , Pavel Stehule , Greg Sabino Mullane , pgsql-bugs@postgresql.org, pgsql-general@postgresql.org Subject: Re: [GENERAL] Prepared Statement Name Truncation In-reply-to: <50AF9FEA.4090004@vmware.com> References: <18330.1353283998@sss.pgh.pa.us> <7c1ee6d7b0d3821da2f2d19b8f526649@biglumber.com> <50AF574C.5040809@timbira.com> <19759.1353686028@sss.pgh.pa.us> <50AF9FEA.4090004@vmware.com> Comments: In-reply-to Heikki Linnakangas message dated "Fri, 23 Nov 2012 18:10:18 +0200" Date: Fri, 23 Nov 2012 11:34:37 -0500 Message-ID: <20522.1353688477@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201211/184 X-Sequence-Number: 34742 Heikki Linnakangas writes: > On 23.11.2012 17:53, Tom Lane wrote: >> We could avoid this problem if we were prepared to make type "name" >> be varlena, ... > It would actually be nice to do that because it would *reduce* the > amount of space and memory used for the catalogs in the typical case, Agreed, that would be a nicer place to be ... but the amount of work required to get there is daunting, and rather out of proportion to the benefit IMO. regards, tom lane