Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id AF090B5DC20 for ; Thu, 20 Oct 2011 14:50:38 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 89374-02 for ; Thu, 20 Oct 2011 17:50:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 1AC69B5DC1E for ; Thu, 20 Oct 2011 14:50:31 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p9KHoU2D004844; Thu, 20 Oct 2011 13:50:30 -0400 (EDT) To: bob.messer@l-3com.com cc: pgsql-bugs@postgreSQL.org Subject: Re: BUG #6263: \l causes core dump with large database In-reply-to: <910E82F60F64E34D8388CAFCE988965B027D392999@mail> References: <201110201622.p9KGMkpk001661@wwwmaster.postgresql.org> <25402.1319132136@sss.pgh.pa.us> <910E82F60F64E34D8388CAFCE988965B027D392999@mail> Comments: In-reply-to bob.messer@l-3com.com message dated "Thu, 20 Oct 2011 13:43:11 -0400" Date: Thu, 20 Oct 2011 13:50:30 -0400 Message-ID: <4843.1319133030@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/202 X-Sequence-Number: 31472 bob.messer@l-3com.com writes: > 2) If I replace the libedit.so with the version in this rpm: libedit-2.11-2.20080712cvs.el5.x86_64.rpm, the command works. > 3) if I edit the psql script to use the libreadline.so that is installed on the system (it's looking in the wrong place), the command works. In that case you're dealing with a libedit bug. libedit has a lot of known problems, especially if you're trying to use an old version as it sounds like you might be. There's not a lot we can do about that. regards, tom lane