Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ta5Zq-0006ug-K6 for pgsql-bugs@postgresql.org; Sun, 18 Nov 2012 14:10:26 +0000 Received: from nm1.bullet.mail.ac4.yahoo.com ([98.139.52.198]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ta5Zn-00045A-Gl for pgsql-bugs@postgresql.org; Sun, 18 Nov 2012 14:10:25 +0000 Received: from [98.139.52.197] by nm1.bullet.mail.ac4.yahoo.com with NNFMP; 18 Nov 2012 14:10:21 -0000 Received: from [98.136.86.52] by tm10.bullet.mail.ac4.yahoo.com with NNFMP; 18 Nov 2012 14:10:21 -0000 Received: from [127.0.0.1] by smtp113-mob.biz.mail.ac4.yahoo.com with NNFMP; 18 Nov 2012 14:10:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1353247821; bh=b3UUDEB3d6PfJvBygLQGuA1OYP6OggOp2xJunaFeXkE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:In-Reply-To:Mime-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=Mzbj6I79dUPerpQhOnt8erhIKXaos7FokcG0Fb0wxiI9l040czp3A+KdLDS0hHLOxiiUDP2ihOEaJy80C6srU0ncFmISYKuWqOsfxDMSOEe1pKfjGWBiOOxTontRRsnywwIZxt4Trrq3MEiWUiIfRHzrVQrRlchQnb0+RfsWzrE= X-Yahoo-Newman-Id: 688090.87277.bm@smtp113-mob.biz.mail.ac4.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: wSgb8v8VM1mXM.U1WwOqiKTn45nPDOn6alv4UdDjONIaJIP AAU5vi__lArbaEZ1k0jxA8ESYNFHzBXc92aTcp0QqYQSn8eKhf5sGWHqKQmH 8p0zSSU0cbaswCMsiWTR7uenH9UPPPOVtgo0yVb9vIaUxc3UO_7crniNq5OY jBIIPrsM2RTkbPEHnW7g7ZXEk7Az1._kpMtdM_wyPZn.bR4OsVOT89.jRRCv mvEDM5ZDEW4tLJMIjdWaRbk9M_pvhI.9Ne6O7toDgPqAu5HLO4vKD7plkQy0 U1kIiat8KXqafEuFatL2.62288MaHkMiVfiGwVzY.n04Ct.0k9UCZSgPK.VJ wwM1P3ukkOpV1RLlprP7IzmJsmGi92m_5g0ujIzdSVzX4McxhgWSzKSU3_7_ OvPuFsh8VevARADpCPZ62oCcMSqd0hEN7eVWiWVZet3G9UZ25wUX5lnKdKQu H4sW. X-Yahoo-SMTP: mpGJl6eswBD2IBufoVEg0Pa8gg-- Received: from [192.12.17.101] (polobo@24.93.23.188 with xymcookie) by smtp113-mob.biz.mail.ac4.yahoo.com with SMTP; 18 Nov 2012 06:10:21 -0800 PST References: <6bbb6151ee8205741a05512bc81d059d@biglumber.com> <23546.1353223443@sss.pgh.pa.us> In-Reply-To: <23546.1353223443@sss.pgh.pa.us> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <20152C83-CD88-4725-A790-0B32305751AE@yahoo.com> Cc: Greg Sabino Mullane , "pgsql-bugs@postgresql.org" , "pgsql-general@postgresql.org" X-Mailer: iPad Mail (9B206) From: David Johnston Subject: Re: [GENERAL] Prepared Statement Name Truncation Date: Sun, 18 Nov 2012 09:10:23 -0500 To: Tom Lane X-Pg-Spam-Score: -2.4 (--) X-Archive-Number: 201211/110 X-Sequence-Number: 34668 On Nov 18, 2012, at 2:24, Tom Lane wrote: > "Greg Sabino Mullane" writes: >>> If it's a postgres bug, what is the fix? Make the identifier max size >>> longer? >=20 >> I'd also be in favor of this, in addition to upgrading from a NOTICE. >=20 > On the whole I'm not too excited about changing this. >=20 Then I'd agree with the OP and think the notice should go away on usage in D= ML; though it should be kept for DDL. Can the system be made smart enough to not allow intra-schema collisions in a= ddition to same schema ones? That would seem to be the area of greatest con= cern - particularly around the usage of truncate/delete/drop. Thought: would there be some way to flag a table like this to always require= the use of a schema prefix to be accessed (since right now truncated names o= nly have to be schema unique) in certain conditions (drop, delete, truncate)= ? David J.