pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Segmentation fault
Date: Tue, 04 Mar 2014 07:42:01 -0800
Message-ID: <5315F449.104@aklaver.com> (raw)
In-Reply-To: <5315F3B5.4010506@aklaver.com>
References: <5315F3B5.4010506@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

On 03/04/2014 07:39 AM, Adrian Klaver wrote:

CCing list:

> <quote author='Adrian Klaver-4'>
> 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



view thread (32+ messages)  latest in thread

Message-ID: <5315F449.104@aklaver.com>
Permalink:  ../5315F449.104@aklaver.com/
Also on:    postgresql.org/message-id/5315F449.104@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com
  Subject: Re: Segmentation fault
  In-Reply-To: <5315F449.104@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox