Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TZzNK-0001Xa-29 for pgsql-bugs@postgresql.org; Sun, 18 Nov 2012 07:33:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TZzNI-0000dD-OG for pgsql-bugs@postgresql.org; Sun, 18 Nov 2012 07:33:05 +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 qAI7X3Vj023707; Sun, 18 Nov 2012 02:33:03 -0500 (EST) From: Tom Lane To: Phil Sorber cc: pgsql-bugs@postgresql.org Subject: Re: Prepared Statement Name Truncation In-reply-to: References: Comments: In-reply-to Phil Sorber message dated "Sat, 17 Nov 2012 21:12:44 -0500" Date: Sun, 18 Nov 2012 02:33:02 -0500 Message-ID: <23706.1353223982@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201211/109 X-Sequence-Number: 34667 Phil Sorber writes: > An install of ours was having an issue with log files filling up the > disk rather quickly. After looking into it, the log was filling up > with NOTICE's caused by an ORM that was using a very long identifier > as a name for a prepared statement. It was a concatenation of tables > in the query. Just to be clear here ... does this ORM expect that it can concatenate *any* two legal identifiers into another one? If so, it's going to be broken no matter what the specific length limit is. regards, tom lane