Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WKrTx-0004Fh-Vh for pgsql-general@arkaria.postgresql.org; Tue, 04 Mar 2014 15:42:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WKrTx-00086s-Fc for pgsql-general@arkaria.postgresql.org; Tue, 04 Mar 2014 15:42:13 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WKrTv-00086j-Rz for pgsql-general@postgresql.org; Tue, 04 Mar 2014 15:42:12 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WKrTo-0001IW-CJ for pgsql-general@postgresql.org; Tue, 04 Mar 2014 15:42:11 +0000 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id B1D4CBCA for ; Tue, 4 Mar 2014 10:42:02 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 04 Mar 2014 10:42:02 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=LVVb+ExG8JRW844AhZeiKxg/NB0=; b=EgMNFSjvXVCDREmMfn1kc/8C79RN gxQOm/sH3ItYupp4Xtqe0CQ+F1IHHReT5iXL+5HK08+2AGopD1g1H3TMpNRqMn1Y Ilm8MfqWpNJYAtVBqL6n3AkLgk/eR+FBKfOa2Jnd8DbZNPwMEmgBnuiq2K1DG7/U z2Ksi2fsBjZR6ow= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=LVVb+ExG8JRW844AhZeiKx g/NB0=; b=N0zO7/i0x9uc3LaWAHuwkHI4ij40/uFxFj6WlyldHqQjPkIaOWbjaJ 0hAspOseNajGrwkcLTdPaGp6wPckE21v/rmsErvQ89swMkBRCq/cFSJOmLx1va/D U8I6p+oaxgdSV/quwv4OjcafCSAK8YnygdsXzilWqTlQMjhfVTpf4= X-Sasl-enc: sssJwUpIdQLhdYRWgbvF0POmRlK3Vt/00SP7Yh8Aqo05 1393947722 Received: from panda.site (unknown [97.113.11.16]) by mail.messagingengine.com (Postfix) with ESMTPA id 187E4680372; Tue, 4 Mar 2014 10:42:01 -0500 (EST) Message-ID: <5315F449.104@aklaver.com> Date: Tue, 04 Mar 2014 07:42:01 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Adrian Klaver CC: pgsql-general Subject: Re: Segmentation fault References: <5315F3B5.4010506@aklaver.com> In-Reply-To: <5315F3B5.4010506@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 03/04/2014 07:39 AM, Adrian Klaver wrote: CCing list: > > On 03/04/2014 03:03 AM, ajay wrote: >> hello team , >> >> i am trying to enter this insert command in postgres >> insert into mmsuper.notification >> values('101','12','13','حب|welcome|आपकास्वागतहै','bye','goodbye','low >> balance',5); >> now when i am trying to paste this in postgres in Solaris , it is giving >> me >> error >> >> fm_db_Server1-# insert into mmsuper.notification >> values('101','12','13','Segmentation Fault >> >> and comes out of postgres prompt.... >> also when i am trying to press up arrow key , then also it is giving me >> above error. >> >> But in Linux this is working fine ..without any error > > Well this has encoding/locale issues written all over it. > > So what is the encoding/locale for your Linux machine vs the Solaris > machine? > > The same for the Postgres instances on each or are you inserting into > the same Postgres instance? > >> >> Please help it is very very urgent.. >> >> >> >> Thanks >> Akshat >> > thanks for the reply ,.. > > When i am trying to enter anything else other then some Arabic , Hindi > .. that case it does not give this error. > > like if i enter.. > insert into table values('welcome',1); > then it does not give any error and get successfully I would try Toms suggestion about readline. If that does not work then we are back to questions I asked above about the encodings you are working with. > > Thank -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general